Home
last modified time | relevance | path

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

/llvm-project/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
866 OS << getSourceLine(PP, FileID, I->Line) << "\n"; in checkForIncludesInBlock()
873 OS << getSourceLine(PP, BlockStartLoc) << "\n"; in checkForIncludesInBlock()
1047 getSourceLine(PP, InstanceLoc) + "\n"; in addMacroExpansionInstance()
1050 getSourceLine(PP, DefinitionLoc) + "\n"; in addMacroExpansionInstance()
1069 getSourceLine(PP, DefinitionLoc) + "\n"; in addMacroExpansionInstance()
1095 getSourceLine(PP, InstanceLoc) + "\n"; in addConditionalExpansionInstance()
/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp309 StringRef getSourceLine() const { in getSourceLine() function
973 while (StartColNo < Map.getSourceLine().size() && in highlightRange()
974 (Map.getSourceLine()[StartColNo] == ' ' || in highlightRange()
975 Map.getSourceLine()[StartColNo] == '\t')) in highlightRange()
980 std::min(static_cast<size_t>(R.EndCol), Map.getSourceLine().size()); in highlightRange()
981 while (EndColNo && (Map.getSourceLine()[EndColNo - 1] == ' ' || in highlightRange()
982 Map.getSourceLine()[EndColNo - 1] == '\t')) in highlightRange()