Home
last modified time | relevance | path

Searched refs:SourceText (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang/unittests/Lex/
DPPCallbacksTest.cpp172 CharSourceRange InclusionDirectiveFilenameRange(const char *SourceText, in InclusionDirectiveFilenameRange() argument
176 llvm::MemoryBuffer::getMemBuffer(SourceText); in InclusionDirectiveFilenameRange()
193 const char *SourceText, const char *HeaderPath, bool SystemHeader) { in InclusionDirectiveCharacteristicKind() argument
195 llvm::MemoryBuffer::getMemBuffer(SourceText); in InclusionDirectiveCharacteristicKind()
231 DirectiveExprRange(StringRef SourceText) { in DirectiveExprRange() argument
234 llvm::MemoryBuffer::getMemBuffer(SourceText); in DirectiveExprRange()
260 PragmaOpenCLExtensionCall(const char *SourceText) { in PragmaOpenCLExtensionCall() argument
265 llvm::MemoryBuffer::getMemBuffer(SourceText, "test.cl"); in PragmaOpenCLExtensionCall()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DStaticDefinitionInAnonymousNamespaceCheck.cpp52 StringRef SourceText = in check() local
55 if (SourceText == "static") { in check()
/external/llvm-project/llvm/tools/llvm-cov/
DSourceCoverageView.cpp158 SmallString<128> SourceText(SourceName); in getSourceName() local
159 sys::path::remove_dots(SourceText, /*remove_dot_dots=*/true); in getSourceName()
160 sys::path::native(SourceText); in getSourceName()
161 return std::string(SourceText.str()); in getSourceName()
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp157 CharSourceRange InclusionDirectiveFilenameRange(const char* SourceText, in InclusionDirectiveFilenameRange() argument
160 llvm::MemoryBuffer::getMemBuffer(SourceText); in InclusionDirectiveFilenameRange()
193 PragmaOpenCLExtensionCall(const char* SourceText) { in PragmaOpenCLExtensionCall() argument
198 llvm::MemoryBuffer::getMemBuffer(SourceText, "test.cl"); in PragmaOpenCLExtensionCall()
/external/llvm-project/clang/unittests/CrossTU/
DCrossTranslationUnitTest.cpp68 StringRef SourceText = "int f(int) { return 0; }\n"; in HandleTranslationUnit() local
75 SourceFile.os() << SourceText; in HandleTranslationUnit()
80 tooling::buildASTFromCode(SourceText, SourceFileName); in HandleTranslationUnit()
/external/llvm-project/clang-tools-extra/clang-move/
DMove.cpp330 llvm::StringRef SourceText = in getDeclarationSourceText() local
332 return SourceText.str(); in getDeclarationSourceText()