aaron.ballman added inline comments.
================ Comment at: unittests/ASTMatchers/ASTMatchersTest.h:64 const std::string &Code, const T &AMatcher, bool ExpectMatch, - llvm::StringRef CompileArg, + std::vector<std::string> Args, const FileContentMappings &VirtualMappedFiles = FileContentMappings(), ---------------- I think this might be better as an `llvm::ArrayRef<llvm::StringRef>`. ================ Comment at: unittests/ASTMatchers/ASTMatchersTest.h:114 + return matchesConditionally( + Code, AMatcher, ExpectMatch, std::vector<std::string>{CompileArg}, + VirtualMappedFiles, Filename); ---------------- This could then use `makeArrayRef(CompileArg)`. https://reviews.llvm.org/D30854 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits