Home
last modified time | relevance | path

Searched refs:SourceCode (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/FuzzMutate/
H A DRandomIRBuilderTest.cpp137 const char *SourceCode = in TEST() local
143 auto M = parseAssembly(SourceCode, Ctx); in TEST()
170 const char *SourceCode = 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()
243 const char *SourceCode = "%Opaque = type opaque\n" in TEST() local
250 auto M = parseAssembly(SourceCode, Ctx); in TEST()
273 const char *SourceCode = "declare void @use(i8** swifterror %err)" in TEST() local
280 auto M = parseAssembly(SourceCode, Ctx); in TEST()
H A DOperationsTest.cpp218 const char *SourceCode = in TEST() local
231 auto M = parseAssembly(SourceCode, Ctx); in TEST()
307 const char *SourceCode = in TEST() local
314 auto M = parseAssembly(SourceCode, Ctx); in TEST()
/llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp31 class SourceCode { class
76 SourceCode( in SourceCode() function in llvm::symbolize::SourceCode
118 void PlainPrinterBase::printContext(SourceCode SourceCode) { in printContext() argument
119 SourceCode.format(OS); in printContext()
136 SourceCode(Filename, Info.Line, Config.SourceContextLines, Info.Source)); in printSimpleLocation()
146 SourceCode(Filename, Info.Line, Config.SourceContextLines, Info.Source)); in printSimpleLocation()
316 SourceCode SourceCode(LineInfo.FileName, LineInfo.Line, in print() local
320 SourceCode.format(Stream); in print()
/llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/
H A DUncheckedOptionalAccessModelTest.cpp1205 void ExpectDiagnosticsFor(std::string SourceCode) { in ExpectDiagnosticsFor() argument
1206 ExpectDiagnosticsFor(SourceCode, ast_matchers::hasName("target")); in ExpectDiagnosticsFor()
1211 void ExpectDiagnosticsFor(std::string SourceCode, in ExpectDiagnosticsFor() argument
1213 ReplaceAllOccurrences(SourceCode, "$ns", GetParam().NamespaceName); in ExpectDiagnosticsFor()
1214 ReplaceAllOccurrences(SourceCode, "$optional", GetParam().TypeName); in ExpectDiagnosticsFor()
1243 SourceCode, FuncMatcher, in ExpectDiagnosticsFor()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/Symbolize/
H A DDIPrinter.h33 class SourceCode; variable
80 void printContext(SourceCode SourceCode);
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DCMakeLists.txt10 SourceCode.cpp
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Tooling/Transformer/
H A DBUILD.gn17 "SourceCode.cpp",
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DHeaderSourceSwitchTests.cpp213 llvm::StringRef SourceCode; in TEST() member
245 TestTU TU = TestTU::withCode(Case.SourceCode); in TEST()
/llvm-project-15.0.7/clang/unittests/AST/
H A DRandstructTest.cpp90 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-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clangd/
H A DBUILD.gn119 "SourceCode.cpp",
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCMakeLists.txt99 SourceCode.cpp
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp2583 StringRef SourceCode = "struct A { void f() {} };"; in TEST() local
2586 auto astUnit = tooling::buildASTFromCode(SourceCode); in TEST()
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt302 clang/include/clang/Tooling/Transformer/SourceCode.h
1426 clang-tools-extra/clangd/SourceCode.cpp
1427 clang-tools-extra/clangd/SourceCode.h