/llvm-project/llvm/unittests/FuzzMutate/ |
H A D | RandomIRBuilderTest.cpp | 138 const char *SourceCode = in TEST() local 144 auto M = parseAssembly(SourceCode, Ctx); in TEST() 171 const char *SourceCode = "define void @test() {\n" in TEST() local 176 auto M = parseAssembly(SourceCode, Ctx); in TEST() 206 const char *SourceCode = in TEST() local 219 auto M = parseAssembly(SourceCode, Ctx); in TEST() 242 const char *SourceCode = "declare void @use(ptr swifterror %err)" in TEST() local 249 auto M = parseAssembly(SourceCode, Ctx); in TEST() 271 const char *SourceCode = "\n\ in TEST() local 294 std::unique_ptr<Module> M = parseAssembly(SourceCode, Ct in TEST() 314 const char *SourceCode = "\n\ TEST() local 368 const char *SourceCode = "\n\ TEST() local [all...] |
H A D | OperationsTest.cpp | 295 const char *SourceCode = in TEST() 308 auto M = parseAssembly(SourceCode, Ctx); in TEST() 383 const char *SourceCode = "%opaque = type opaque\n" in TEST() 389 auto M = parseAssembly(SourceCode, Ctx); in TEST() 296 const char *SourceCode = TEST() local 384 const char *SourceCode = "%opaque = type opaque\n" TEST() local
|
/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
H A D | DIPrinter.cpp | 31 class SourceCode { class 76 SourceCode(StringRef FileName, int64_t Line, int Lines, in SourceCode() function in llvm::symbolize::SourceCode 118 void PlainPrinterBase::printContext(SourceCode SourceCode) { in printContext() argument 119 SourceCode.format(OS); in printContext() 139 SourceCode(Filename, Info.Line, Config.SourceContextLines, Info.Source)); in printSimpleLocation() 151 SourceCode(Filename, Info.Line, Config.SourceContextLines, Info.Source)); in printVerbose() 335 SourceCode SourceCode(LineInfo.FileName, LineInfo.Line, in print() 339 SourceCode in print() 325 SourceCode SourceCode(LineInfo.FileName, LineInfo.Line, print() local [all...] |
/llvm-project/clang/unittests/Analysis/FlowSensitive/ |
H A D | UncheckedOptionalAccessModelTest.cpp | 1285 void ExpectDiagnosticsFor(std::string SourceCode, in ExpectDiagnosticsFor() argument 1287 ExpectDiagnosticsFor(SourceCode, ast_matchers::hasName("target"), in ExpectDiagnosticsFor() 1291 void ExpectDiagnosticsForLambda(std::string SourceCode, in ExpectDiagnosticsForLambda() 1294 SourceCode, 1301 void ExpectDiagnosticsFor(std::string SourceCode, FuncDeclMatcher FuncMatcher, in ExpectDiagnosticsFor() 1306 ExpectDiagnosticsFor(SourceCode, FuncMatcher, CxxMode, in ExpectDiagnosticsFor() 1311 void ExpectDiagnosticsFor(std::string SourceCode, FuncDeclMatcher FuncMatcher, in ExpectDiagnosticsFor() 1314 ReplaceAllOccurrences(SourceCode, "$ns", GetParam().NamespaceName); in ExpectDiagnosticsFor() 1315 ReplaceAllOccurrences(SourceCode, "$optional", GetParam().TypeName); in ExpectDiagnosticsFor() 1342 SourceCode, st in ExpectDiagnosticsFor() 1289 ExpectDiagnosticsForLambda(std::string SourceCode) ExpectDiagnosticsForLambda() argument 1296 ExpectDiagnosticsFor(std::string SourceCode,FuncDeclMatcher FuncMatcher) ExpectDiagnosticsFor() argument 1305 ExpectDiagnosticsFor(std::string SourceCode,FuncDeclMatcher FuncMatcher,const char * CxxMode) ExpectDiagnosticsFor() argument [all...] |
/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/ |
H A D | DIPrinter.h | 32 class SourceCode; variable 80 void printContext(SourceCode SourceCode);
|
/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | CMakeLists.txt | 10 SourceCode.cpp
|
/llvm-project/llvm/utils/gn/secondary/clang/lib/Tooling/Transformer/ |
H A D | BUILD.gn | 17 "SourceCode.cpp",
|
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | HeaderSourceSwitchTests.cpp | 213 llvm::StringRef SourceCode; in TEST() member 245 TestTU TU = TestTU::withCode(Case.SourceCode); in TEST()
|
/llvm-project/clang/unittests/AST/ |
H A D | RandstructTest.cpp | 90 makeAST(const std::string &SourceCode, bool ExpectError = false, in makeAST() argument 98 SourceCode, Args, "input.c", "clang-tool", in makeAST() 116 SourceCode, Args, "input.c", "clang-tool", in makeAST()
|
/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clangd/ |
H A D | BUILD.gn | 124 "SourceCode.cpp",
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | CMakeLists.txt | 110 SourceCode.cpp
|
/llvm-project/clang/unittests/ASTMatchers/ |
H A D | ASTMatchersNodeTest.cpp | 2779 StringRef SourceCode = "struct A { void f() {} };"; 2782 auto astUnit = tooling::buildASTFromCode(SourceCode); 2724 StringRef SourceCode = "struct A { void f() {} };"; TEST() local
|