/external/clang/include/clang/Frontend/ |
DiagnosticRenderer.h | 75 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, 81 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 92 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc) = 0; 144 PresumedLoc PLoc);
|
TextDiagnostic.h | 82 virtual void emitDiagnosticMessage(SourceLocation Loc,PresumedLoc PLoc, 88 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 101 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc);
|
/external/clang/tools/libclang/ |
CIndexInclusionStack.cpp | 60 PresumedLoc PLoc = SM.getPresumedLoc(L); 62 L = PLoc.isValid()? PLoc.getIncludeLoc() : SourceLocation();
|
CIndexDiagnostic.cpp | 115 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, 128 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
|
/external/clang/lib/Basic/ |
SourceLocation.cpp | 45 PresumedLoc PLoc = SM.getPresumedLoc(*this); 47 if (PLoc.isInvalid()) { 52 OS << PLoc.getFilename() << ':' << PLoc.getLine() 53 << ':' << PLoc.getColumn();
|
/external/clang/lib/Frontend/ |
DiagnosticRenderer.cpp | 191 PresumedLoc PLoc = getDiagnosticPresumedLoc(SM, Loc); 195 emitIncludeStack(PLoc.getIncludeLoc(), Level); 198 emitDiagnosticMessage(Loc, PLoc, Level, Message, Ranges, D); 266 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 267 if (PLoc.isInvalid()) 271 emitIncludeStackRecursively(PLoc.getIncludeLoc()); 274 emitIncludeLocation(Loc, PLoc); 374 PresumedLoc PLoc) { 378 Message << "in file included from " << PLoc.getFilename() << ':' 379 << PLoc.getLine() << ":" [all...] |
SerializedDiagnosticPrinter.cpp | 66 PresumedLoc PLoc, 72 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 141 PresumedLoc PLoc, RecordDataImpl &Record, 245 PresumedLoc PLoc, 248 if (PLoc.isInvalid()) { 257 Record.push_back(getEmitFile(PLoc.getFilename())); 258 Record.push_back(PLoc.getLine()); 259 Record.push_back(PLoc.getColumn()+TokSize); 499 PresumedLoc PLoc, 508 Writer.AddLocToRecord(Loc, SM, PLoc, Record) [all...] |
TextDiagnostic.cpp | 614 PresumedLoc PLoc, 622 emitDiagnosticLoc(Loc, PLoc, Level, Ranges); 694 void TextDiagnostic::emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 697 if (PLoc.isInvalid()) { 714 unsigned LineNo = PLoc.getLine(); 722 OS << PLoc.getFilename(); 731 if (unsigned ColNo = PLoc.getColumn()) { 802 PresumedLoc PLoc) { 804 OS << "In file included from " << PLoc.getFilename() << ':' 805 << PLoc.getLine() << ":\n" [all...] |
PrintPreprocessedOutput.cpp | 135 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 136 if (PLoc.isInvalid()) 138 return MoveToLine(PLoc.getLine()); 617 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); 618 if (PLoc.isInvalid()) 621 if (strcmp(PLoc.getFilename(), "<built-in>"))
|
/external/clang/lib/AST/ |
StmtDumper.cpp | 187 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); 189 if (PLoc.isInvalid()) { 194 if (strcmp(PLoc.getFilename(), LastLocFilename) != 0) { 195 OS << PLoc.getFilename() << ':' << PLoc.getLine() 196 << ':' << PLoc.getColumn(); 197 LastLocFilename = PLoc.getFilename(); 198 LastLocLine = PLoc.getLine(); 199 } else if (PLoc.getLine() != LastLocLine) { 200 OS << "line" << ':' << PLoc.getLine( [all...] |
TypePrinter.cpp | 691 PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc( 693 if (PLoc.isValid()) { 694 OS << " at " << PLoc.getFilename() 695 << ':' << PLoc.getLine() 696 << ':' << PLoc.getColumn(); [all...] |
/external/clang/lib/Lex/ |
PPMacroExpansion.cpp | [all...] |
Pragma.cpp | 396 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation()); 397 if (PLoc.isInvalid()) 400 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename()); 410 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine(), FilenameID, [all...] |
PPDirectives.cpp | 881 PresumedLoc PLoc = SM.getPresumedLoc(FlagTok.getLocation()); 882 if (PLoc.isInvalid()) 887 SourceLocation IncLoc = PLoc.getIncludeLoc(); [all...] |
/frameworks/compile/slang/ |
slang_rs.cpp | 249 clang::PresumedLoc PLoc = SourceMgr.getPresumedLoc(FSL); 251 const char *Filename = PLoc.getFilename();
|
/external/clang/lib/CodeGen/ |
CGDebugInfo.cpp | 217 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 219 if (PLoc.isInvalid() || StringRef(PLoc.getFilename()).empty()) 224 const char *fname = PLoc.getFilename(); 234 llvm::DIFile F = DBuilder.createFile(PLoc.getFilename(), getCurrentDirname()); 251 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); 252 return PLoc.isValid()? PLoc.getLine() : 0; 261 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); 262 return PLoc.isValid()? PLoc.getColumn() : 0 [all...] |
CodeGenModule.cpp | 717 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 718 if (PLoc.isValid()) 719 return EmitAnnotationString(PLoc.getFilename()); 725 PresumedLoc PLoc = SM.getPresumedLoc(L); 726 unsigned LineNo = PLoc.isValid() ? PLoc.getLine() : [all...] |
/external/clang/include/clang/Sema/ |
Sema.h | [all...] |