/external/clang/include/clang/Basic/ |
PrettyStackTrace.h | 29 SourceLocation Loc; 33 : SM(sm), Loc(L), Message(Msg) {}
|
/external/clang/include/clang/Sema/ |
PrettyDeclStackTrace.h | 34 SourceLocation Loc; 38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc, 40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {}
|
TemplateDeduction.h | 36 SourceLocation Loc; 49 TemplateDeductionInfo(SourceLocation Loc) 50 : Deduced(0), Loc(Loc), HasSFINAEDiagnostic(false), Expression(0) { } 55 return Loc; 86 void addSFINAEDiagnostic(SourceLocation Loc, PartialDiagnostic PD) { 92 std::make_pair(Loc, PartialDiagnostic::NullDiagnostic())); 98 void addSuppressedDiagnostic(SourceLocation Loc, 103 std::make_pair(Loc, PartialDiagnostic::NullDiagnostic()));
|
ParsedTemplate.h | 43 /// \param Loc the location of the type. 44 ParsedTemplateArgument(KindType Kind, void *Arg, SourceLocation Loc) 45 : Kind(Kind), Arg(Arg), Loc(Loc) { } 61 SS(SS), Loc(TemplateLoc), EllipsisLoc() { } 88 SourceLocation getLocation() const { return Loc; } 126 SourceLocation Loc;
|
/external/compiler-rt/lib/ubsan/ |
ubsan_handlers_cxx.h | 22 SourceLocation Loc;
|
ubsan_handlers.h | 21 SourceLocation Loc; 39 SourceLocation Loc; 60 SourceLocation Loc; 71 SourceLocation Loc; 80 SourceLocation Loc; 91 SourceLocation Loc; 99 // FIXME: SourceLocation Loc; 108 // FIXME: SourceLocation Loc;
|
ubsan_handlers.cc | 31 Location Loc = Data->Loc.acquire(); 34 if (Loc.getSourceLocation().isDisabled()) 36 if (Data->Loc.isInvalid()) 37 Loc = FallbackLoc; 40 Diag(Loc, DL_Error, "%0 null pointer of type %1") 43 Diag(Loc, DL_Error, "%0 misaligned address %1 for type %3, " 48 Diag(Loc, DL_Error, "%0 address %1 with insufficient space " 69 SourceLocation Loc = Data->Loc.acquire() [all...] |
/external/clang/include/clang/AST/ |
CommentBriefParser.h | 39 SourceLocation Loc = Tok.getLocation(); 41 return Loc;
|
DependentDiagnostic.h | 41 SourceLocation Loc, 49 DD->AccessData.Loc = Loc.getRawEncoding(); 74 return SourceLocation::getFromRawEncoding(AccessData.Loc); 112 unsigned Loc;
|
/external/clang/lib/AST/ |
SelectorLocationsKind.cpp | 57 SourceLocation Loc = Arg->getLocStart(); 58 if (Loc.isInvalid()) 59 return Loc; 61 return Loc.getLocWithOffset(-1);
|
/external/clang/lib/ARCMigrate/ |
TransARCAssign.cpp | 48 SourceLocation Loc = OrigLoc; 52 Expr::isModifiableLvalueResult IsLV = E->isModifiableLvalue(Ctx, &Loc);
|
TransGCAttrs.cpp | 87 SourceLocation Loc = TL.getAttrNameLoc(); 88 unsigned RawLoc = Loc.getRawEncoding(); 94 if (Loc.isMacroID()) 95 Loc = SM.getImmediateExpansionRange(Loc).first; 116 Attr.Loc = Loc; 175 bool isInMainFile(SourceLocation Loc) { 176 if (Loc.isInvalid()) 180 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID()) [all...] |
TransRetainReleaseDealloc.cpp | 333 SourceLocation Loc = Msg->getExprLoc(); 334 if (!Loc.isMacroID()) 337 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM, 394 void clearDiagnostics(SourceLocation loc) const { 398 loc);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
TraversalChecker.cpp | 48 SourceLocation Loc = Parent->getLocStart(); 49 llvm::outs() << C.getSourceManager().getSpellingLineNumber(Loc) << " "
|
AnalyzerStatsChecker.cpp | 93 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); 94 if (!Loc.isValid()) 102 output << "block(line:" << Loc.getLine() << ":col:" << Loc.getColumn();
|
CStringSyntaxChecker.cpp | 143 PathDiagnosticLocation Loc = 160 os.str(), Loc, &R, 1);
|
/external/llvm/include/llvm/ExecutionEngine/ |
JITEventListener.h | 39 DebugLoc Loc;
|
/external/clang/include/clang/Lex/ |
PPConditionalDirectiveRecord.h | 32 SourceLocation Loc; 36 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc) 37 : Loc(Loc), RegionLoc(RegionLoc) {} 39 SourceLocation getLoc() const { return Loc; } 86 SourceLocation findConditionalDirectiveRegionLoc(SourceLocation Loc) const; 89 virtual void If(SourceLocation Loc, SourceRange ConditionRange); 90 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange, 92 virtual void Ifdef(SourceLocation Loc, const Token &MacroNameTok, 94 virtual void Ifndef(SourceLocation Loc, const Token &MacroNameTok [all...] |
/external/clang/tools/libclang/ |
IndexTypeSourceInfo.cpp | 127 SourceLocation Loc = NNS.getSourceRange().getBegin(); 136 Loc, Parent, DC); 140 Loc, Parent, DC);
|
CXSourceLocation.cpp | 212 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); 214 if (!location.ptr_data[0] || Loc.isInvalid()) { 221 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); 255 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); 257 if (!location.ptr_data[0] || Loc.isInvalid()) 262 PresumedLoc PreLoc = SM.getPresumedLoc(Loc); 294 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); 296 if (!location.ptr_data[0] || Loc.isInvalid()) 302 SourceLocation SpellLoc = SM.getFileLoc(Loc); 332 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data) [all...] |
/external/clang/lib/Analysis/ |
ReachableCode.cpp | 249 SourceLocation Loc = GetUnreachableLoc(S, R1, R2); 250 CB.HandleUnreachable(Loc, R1, R2);
|
/external/clang/lib/Edit/ |
Commit.cpp | 20 SourceLocation Loc = SM.getLocForStartOfFile(Offset.getFID()); 21 Loc = Loc.getLocWithOffset(Offset.getOffset()); 22 assert(Loc.isFileID()); 23 return Loc; 27 SourceLocation Loc = getFileLocation(SM); 28 return CharSourceRange::getCharRange(Loc, Loc.getLocWithOffset(Length)); 32 SourceLocation Loc = SM.getLocForStartOfFile(InsertFromRangeOffs.getFID()); 33 Loc = Loc.getLocWithOffset(InsertFromRangeOffs.getOffset()) [all...] |
/external/clang/lib/Parse/ |
ParseTentative.cpp | 507 SourceLocation Loc; 508 if (!TryParseCXX11AttributeIdentifier(Loc)) { 514 if (!TryParseCXX11AttributeIdentifier(Loc)) { [all...] |
/external/clang/lib/Sema/ |
SemaAttr.cpp | 294 SourceLocation Loc = PP.getPragmaARCCFCodeAuditedLoc(); 295 if (!Loc.isValid()) return; 302 D->addAttr(::new (Context) CFAuditedTransferAttr(Loc, Context)); 322 SourceLocation loc = Stack->back().second; local 324 D->addAttr(::new (Context) VisibilityAttr(loc, Context, type)); 333 static void PushPragmaVisibility(Sema &S, unsigned type, SourceLocation loc) { 339 Stack->push_back(std::make_pair(type, loc)); 381 SourceLocation Loc) { 386 PushPragmaVisibility(*this, NoVisibility, Loc);
|
/external/clang/unittests/Lex/ |
LexerTest.cpp | 120 SourceLocation Loc; 121 EXPECT_TRUE(Lexer::isAtStartOfMacroExpansion(lsqrLoc, SourceMgr, LangOpts, &Loc)); 122 EXPECT_EQ(Loc, macroRange.getBegin()); 125 EXPECT_TRUE(Lexer::isAtEndOfMacroExpansion(rsqrLoc, SourceMgr, LangOpts, &Loc)); 126 EXPECT_EQ(Loc, macroRange.getEnd());
|