Searched refs:SourceText (Results 1 – 6 of 6) sorted by relevance
172 CharSourceRange InclusionDirectiveFilenameRange(const char *SourceText, in InclusionDirectiveFilenameRange() argument176 llvm::MemoryBuffer::getMemBuffer(SourceText); in InclusionDirectiveFilenameRange()193 const char *SourceText, const char *HeaderPath, bool SystemHeader) { in InclusionDirectiveCharacteristicKind() argument195 llvm::MemoryBuffer::getMemBuffer(SourceText); in InclusionDirectiveCharacteristicKind()231 DirectiveExprRange(StringRef SourceText) { in DirectiveExprRange() argument234 llvm::MemoryBuffer::getMemBuffer(SourceText); in DirectiveExprRange()260 PragmaOpenCLExtensionCall(const char *SourceText) { in PragmaOpenCLExtensionCall() argument265 llvm::MemoryBuffer::getMemBuffer(SourceText, "test.cl"); in PragmaOpenCLExtensionCall()
52 StringRef SourceText = in check() local55 if (SourceText == "static") { in check()
158 SmallString<128> SourceText(SourceName); in getSourceName() local159 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()
157 CharSourceRange InclusionDirectiveFilenameRange(const char* SourceText, in InclusionDirectiveFilenameRange() argument160 llvm::MemoryBuffer::getMemBuffer(SourceText); in InclusionDirectiveFilenameRange()193 PragmaOpenCLExtensionCall(const char* SourceText) { in PragmaOpenCLExtensionCall() argument198 llvm::MemoryBuffer::getMemBuffer(SourceText, "test.cl"); in PragmaOpenCLExtensionCall()
68 StringRef SourceText = "int f(int) { return 0; }\n"; in HandleTranslationUnit() local75 SourceFile.os() << SourceText; in HandleTranslationUnit()80 tooling::buildASTFromCode(SourceText, SourceFileName); in HandleTranslationUnit()
330 llvm::StringRef SourceText = in getDeclarationSourceText() local332 return SourceText.str(); in getDeclarationSourceText()