HomeSort by: relevance | last modified time | path
    Searched defs:PLoc (Results 1 - 21 of 21) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
JsonSupport.h 91 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
93 if (PLoc.isInvalid()) {
100 std::string filename(PLoc.getFilename());
113 Out << "\"line\": " << PLoc.getLine()
114 << ", \"column\": " << PLoc.getColumn()
  /src/external/apache2/llvm/dist/clang/lib/Index/
FileIndexRecord.cpp 68 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
69 OS << llvm::sys::path::filename(PLoc.getFilename()) << ':'
70 << PLoc.getLine() << ':' << PLoc.getColumn();
78 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
79 OS << llvm::sys::path::filename(PLoc.getFilename()) << ':'
80 << PLoc.getLine() << ':' << PLoc.getColumn();
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
SanitizerMetadata.cpp 93 PresumedLoc PLoc = CGM.getContext().getSourceManager().getPresumedLoc(Loc);
94 if (!PLoc.isValid())
98 llvm::MDString::get(VMContext, PLoc.getFilename()),
100 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())),
102 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())),
CGDebugInfo.cpp 413 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
414 FileName = PLoc.getFilename();
419 FileName = PLoc.getFilename();
421 FID = PLoc.getFileID();
507 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc);
508 return PLoc.isValid() ? PLoc.getColumn() : 0;
CGExpr.cpp 3069 PresumedLoc PLoc = getContext().getSourceManager().getPresumedLoc(Loc);
3070 if (PLoc.isValid()) {
3071 StringRef FilenameString = PLoc.getFilename();
3102 Line = PLoc.getLine();
3103 Column = PLoc.getColumn();
CodeGenModule.cpp 2487 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
2488 if (PLoc.isValid())
2489 return EmitAnnotationString(PLoc.getFilename());
2495 PresumedLoc PLoc = SM.getPresumedLoc(L);
2496 unsigned LineNo = PLoc.isValid() ? PLoc.getLine() :
CGOpenMPRuntime.cpp 1424 PresumedLoc PLoc = CGF.getContext().getSourceManager().getPresumedLoc(Loc);
1425 OS << ";" << PLoc.getFilename() << ";";
1428 OS << ";" << PLoc.getLine() << ";" << PLoc.getColumn() << ";;";
1443 PresumedLoc PLoc = CGF.getContext().getSourceManager().getPresumedLoc(Loc);
1444 const char *FileName = PLoc.getFilename();
1445 unsigned Line = PLoc.getLine();
1446 unsigned Column = PLoc.getColumn();
1659 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
1660 assert(PLoc.isValid() && "Source location is expected to be always valid.")
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
LogDiagnosticPrinter.cpp 145 PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation());
147 if (PLoc.isInvalid()) {
156 DE.Filename = PLoc.getFilename();
157 DE.Line = PLoc.getLine();
158 DE.Column = PLoc.getColumn();
DiagnosticRenderer.cpp 120 PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc);
124 emitIncludeStack(Loc, PLoc, Level);
127 emitDiagnosticMessage(Loc, PLoc, Level, Message, Ranges, D);
163 /// \param PLoc The presumed location of the diagnostic location.
165 void DiagnosticRenderer::emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc,
168 PLoc.isInvalid() ? FullSourceLoc()
169 : FullSourceLoc(PLoc.getIncludeLoc(), Loc.getManager());
196 PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc);
197 if (PLoc.isInvalid())
212 FullSourceLoc(PLoc.getIncludeLoc(), Loc.getManager()))
    [all...]
PrintPreprocessedOutput.cpp 157 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
158 if (PLoc.isInvalid())
160 return MoveToLine(PLoc.getLine()) || (PLoc.getLine() == 1);
920 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
921 if (PLoc.isInvalid())
924 if (strcmp(PLoc.getFilename(), "<built-in>"))
SerializedDiagnosticPrinter.cpp 68 void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
73 void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
191 void EmitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
216 void AddLocToRecord(FullSourceLoc Loc, PresumedLoc PLoc,
346 void SDiagsWriter::AddLocToRecord(FullSourceLoc Loc, PresumedLoc PLoc,
348 if (PLoc.isInvalid()) {
357 Record.push_back(getEmitFile(PLoc.getFilename()));
358 Record.push_back(PLoc.getLine());
359 Record.push_back(PLoc.getColumn()+TokSize);
642 void SDiagsWriter::EmitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
    [all...]
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndexInclusionStack.cpp 50 PresumedLoc PLoc = SM.getPresumedLoc(L);
52 L = PLoc.isValid()? PLoc.getIncludeLoc() : SourceLocation();
  /src/external/apache2/llvm/dist/clang/lib/Basic/
SourceLocation.cpp 69 PresumedLoc PLoc = SM.getPresumedLoc(*this);
71 if (PLoc.isInvalid()) {
76 OS << PLoc.getFilename() << ':' << PLoc.getLine()
77 << ':' << PLoc.getColumn();
110 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
112 if (PLoc.isInvalid()) {
118 strcmp(PLoc.getFilename(), Previous.getFilename()) != 0) {
119 OS << PLoc.getFilename() << ':' << PLoc.getLine() << ':
    [all...]
SourceManager.cpp 1251 PresumedLoc PLoc = getPresumedLoc(Loc);
1252 if (isInvalid(PLoc, Invalid)) return 0;
1253 return PLoc.getColumn();
1456 PresumedLoc PLoc = getPresumedLoc(Loc);
1457 if (isInvalid(PLoc, Invalid)) return 0;
1458 return PLoc.getLine();
  /src/external/apache2/llvm/dist/clang/lib/Lex/
Pragma.cpp 475 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation());
476 if (PLoc.isInvalid())
479 unsigned FilenameID = SourceMgr.getLineTableFilenameID(PLoc.getFilename());
489 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine() + 1,
PPDirectives.cpp 1278 PresumedLoc PLoc = SM.getPresumedLoc(FlagTok.getLocation());
1279 if (PLoc.isInvalid())
1284 SourceLocation IncLoc = PLoc.getIncludeLoc();
  /src/external/apache2/llvm/dist/clang/lib/AST/
TextNodeDumper.cpp 584 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc);
586 if (PLoc.isInvalid()) {
591 if (strcmp(PLoc.getFilename(), LastLocFilename) != 0) {
592 OS << PLoc.getFilename() << ':' << PLoc.getLine() << ':'
593 << PLoc.getColumn();
594 LastLocFilename = PLoc.getFilename();
595 LastLocLine = PLoc.getLine();
596 } else if (PLoc.getLine() != LastLocLine) {
597 OS << "line" << ':' << PLoc.getLine() << ':' << PLoc.getColumn()
    [all...]
TypePrinter.cpp 1321 PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc(
1323 if (PLoc.isValid()) {
1325 StringRef File = PLoc.getFilename();
1330 OS << ':' << PLoc.getLine() << ':' << PLoc.getColumn();
Expr.cpp 2155 PresumedLoc PLoc = Ctx.getSourceManager().getPresumedLoc(
2168 return MakeStringLiteral(PLoc.getFilename());
2179 IntVal = getIdentKind() == SourceLocExpr::Line ? PLoc.getLine()
2180 : PLoc.getColumn();
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp 1627 PresumedLoc PLoc = SM->getPresumedLoc(Loc);
1628 LineString += utostr(PLoc.getLine());
1630 LineString += Lexer::Stringify(PLoc.getFilename());
3062 PresumedLoc PLoc = SM->getPresumedLoc(Location);
3063 LineString += utostr(PLoc.getLine());
3065 LineString += Lexer::Stringify(PLoc.getFilename());
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/AsmParser/
ARMAsmParser.cpp 7281 SMLoc PLoc = SMLoc::getFromPointer(NameLoc.getPointer() +
7284 ARMOperand::CreateVPTPred(ARMVCC::None, PLoc));
7296 SMLoc PLoc = SMLoc::getFromPointer(NameLoc.getPointer() +
7299 ARMOperand::CreateVPTPred(ARMVCC::Else, PLoc));
7344 SMLoc PLoc = SMLoc::getFromPointer(NameLoc.getPointer() +
7348 ARMVCC::VPTCodes(VPTPredicationCode), PLoc));

Completed in 83 milliseconds