Home
last modified time | relevance | path

Searched refs:getSourceLine (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/lib/Frontend/
H A DTextDiagnostic.cpp308 StringRef getSourceLine() const { in getSourceLine() function
1004 unsigned EndColNo = map.getSourceLine().size(); in highlightRange()
1024 while (StartColNo < map.getSourceLine().size() && in highlightRange()
1025 (map.getSourceLine()[StartColNo] == ' ' || in highlightRange()
1026 map.getSourceLine()[StartColNo] == '\t')) in highlightRange()
1030 if (EndColNo > map.getSourceLine().size()) in highlightRange()
1031 EndColNo = map.getSourceLine().size(); in highlightRange()
1033 (map.getSourceLine()[EndColNo-1] == ' ' || in highlightRange()
1034 map.getSourceLine()[EndColNo-1] == '\t')) in highlightRange()
1046 assert(StartColNo <= map.getSourceLine().size() && "Invalid range!"); in highlightRange()
[all …]
/llvm-project-15.0.7/clang-tools-extra/modularize/
H A DPreprocessorTracker.cpp313 static std::string getSourceLine(clang::Preprocessor &PP, in getSourceLine() function
339 static std::string getSourceLine(clang::Preprocessor &PP, clang::FileID FileID, in getSourceLine() function
867 OS << getSourceLine(PP, FileID, I->Line) << "\n"; in checkForIncludesInBlock()
874 OS << getSourceLine(PP, BlockStartLoc) << "\n"; in checkForIncludesInBlock()
1052 getSourceLine(PP, InstanceLoc) + "\n"; in addMacroExpansionInstance()
1055 getSourceLine(PP, DefinitionLoc) + "\n"; in addMacroExpansionInstance()
1074 getSourceLine(PP, DefinitionLoc) + "\n"; in addMacroExpansionInstance()
1100 getSourceLine(PP, InstanceLoc) + "\n"; in addConditionalExpansionInstance()