/external/clang/lib/Frontend/ |
LogDiagnosticPrinter.cpp | 153 PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation()); 155 if (PLoc.isInvalid()) { 164 DE.Filename = PLoc.getFilename(); 165 DE.Line = PLoc.getLine(); 166 DE.Column = PLoc.getColumn();
|
DiagnosticRenderer.cpp | 159 PresumedLoc PLoc = SM->getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); 163 emitIncludeStack(Loc, PLoc, Level, *SM); 166 emitDiagnosticMessage(Loc, PLoc, Level, Message, Ranges, SM, D); 202 /// \param PLoc The presumed location of the diagnostic location. 205 PresumedLoc PLoc, 208 SourceLocation IncludeLoc = PLoc.getIncludeLoc(); 236 PresumedLoc PLoc = SM.getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); 237 if (PLoc.isInvalid()) 251 emitIncludeStackRecursively(PLoc.getIncludeLoc(), SM); 254 emitIncludeLocation(Loc, PLoc, SM) [all...] |
PrintPreprocessedOutput.cpp | 147 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 148 if (PLoc.isInvalid()) 150 return MoveToLine(PLoc.getLine()) || (PLoc.getLine() == 1); 657 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); 658 if (PLoc.isInvalid()) 661 if (strcmp(PLoc.getFilename(), "<built-in>"))
|
SerializedDiagnosticPrinter.cpp | 63 PresumedLoc PLoc, 70 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 139 PresumedLoc PLoc, 165 PresumedLoc PLoc, RecordDataImpl &Record, 288 PresumedLoc PLoc, 291 if (PLoc.isInvalid()) { 300 Record.push_back(getEmitFile(PLoc.getFilename())); 301 Record.push_back(PLoc.getLine()); 302 Record.push_back(PLoc.getColumn()+TokSize); 574 PresumedLoc PLoc, [all...] |
/external/clang/tools/libclang/ |
CIndexInclusionStack.cpp | 60 PresumedLoc PLoc = SM.getPresumedLoc(L); 62 L = PLoc.isValid()? PLoc.getIncludeLoc() : SourceLocation();
|
/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();
|
/frameworks/compile/slang/ |
slang_rs.cpp | 263 clang::PresumedLoc PLoc = SourceMgr.getPresumedLoc(FSL); 265 const char *Filename = PLoc.getFilename();
|
/external/clang/lib/Lex/ |
Pragma.cpp | 423 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation()); 424 if (PLoc.isInvalid()) 427 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename()); 437 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine(), FilenameID, [all...] |
PPDirectives.cpp | [all...] |
/external/clang/lib/AST/ |
TypePrinter.cpp | 883 PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc( 885 if (PLoc.isValid()) { 886 OS << " at " << PLoc.getFilename() 887 << ':' << PLoc.getLine() 888 << ':' << PLoc.getColumn(); [all...] |
ASTDumper.cpp | 386 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); 388 if (PLoc.isInvalid()) { 393 if (strcmp(PLoc.getFilename(), LastLocFilename) != 0) { 394 OS << PLoc.getFilename() << ':' << PLoc.getLine() 395 << ':' << PLoc.getColumn(); 396 LastLocFilename = PLoc.getFilename(); 397 LastLocLine = PLoc.getLine(); 398 } else if (PLoc.getLine() != LastLocLine) { 399 OS << "line" << ':' << PLoc.getLine( [all...] |
/external/clang/lib/CodeGen/ |
CGDebugInfo.cpp | 226 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 228 if (PLoc.isInvalid() || StringRef(PLoc.getFilename()).empty()) 233 const char *fname = PLoc.getFilename(); 243 llvm::DIFile F = DBuilder.createFile(PLoc.getFilename(), getCurrentDirname()); 260 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); 261 return PLoc.isValid()? PLoc.getLine() : 0; 274 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); 275 return PLoc.isValid()? PLoc.getColumn() : 0 [all...] |
CodeGenModule.cpp | [all...] |
CGExpr.cpp | [all...] |
/external/clang/lib/Rewrite/Frontend/ |
RewriteModernObjC.cpp | [all...] |