HomeSort by relevance Sort by last modified time
    Searched defs:Loc (Results 1 - 25 of 159) sorted by null

1 2 3 4 5 6 7

  /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 40 SourceLocation Loc;
54 TemplateDeductionInfo(ASTContext &Context, SourceLocation Loc)
55 : Context(Context), Deduced(0), Loc(Loc), HasSFINAEDiagnostic(false) { }
64 return Loc;
96 void addSFINAEDiagnostic(SourceLocation Loc, PartialDiagnostic PD) {
102 std::make_pair(Loc, PartialDiagnostic::NullDiagnostic()));
108 void addSuppressedDiagnostic(SourceLocation Loc,
113 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/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);
113 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 88 SourceLocation Loc = TL.getAttrNameLoc();
89 unsigned RawLoc = Loc.getRawEncoding();
95 if (Loc.isMacroID())
96 Loc = SM.getImmediateExpansionRange(Loc).first;
117 Attr.Loc = Loc;
176 bool isInMainFile(SourceLocation Loc) {
177 if (Loc.isInvalid())
181 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID())
    [all...]
TransRetainReleaseDealloc.cpp 248 SourceLocation Loc = Msg->getExprLoc();
249 if (!Loc.isMacroID())
252 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM,
309 void clearDiagnostics(SourceLocation loc) const {
313 loc);
  /external/clang/lib/StaticAnalyzer/Checkers/
TraversalChecker.cpp 47 SourceLocation Loc = Parent->getLocStart();
48 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 144 PathDiagnosticLocation Loc =
161 os.str(), Loc, &R, 1);
  /external/llvm/include/llvm/ExecutionEngine/
JITEventListener.h 39 DebugLoc Loc;
  /external/clang/tools/libclang/
IndexTypeSourceInfo.cpp 128 SourceLocation Loc = NNS.getSourceRange().getBegin();
137 Loc, Parent, DC);
141 Loc, Parent, DC);
CIndexHigh.cpp 129 /// \brief For a macro \arg Loc, returns the file spelling location and sets
133 SourceLocation Loc,
135 assert(Loc.isMacroID());
136 SourceLocation SpellLoc = SM.getImmediateSpellingLoc(Loc);
140 isMacroArg = SM.isMacroArgExpansion(Loc);
180 Loc = cxloc::translateSourceLocation(clang_getCursorLocation(cursor));
183 Loc = SelIdLoc;
188 if (Loc.isMacroID()) {
190 Loc = getFileSpellingLoc(SM, Loc, isMacroArg)
    [all...]
CXSourceLocation.cpp 209 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data);
211 if (!location.ptr_data[0] || Loc.isInvalid()) {
218 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc);
252 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data);
254 if (!location.ptr_data[0] || Loc.isInvalid())
259 PresumedLoc PreLoc = SM.getPresumedLoc(Loc);
291 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data);
293 if (!location.ptr_data[0] || Loc.isInvalid())
298 SourceLocation SpellLoc = Loc;
  /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...]
EditedSource.cpp 246 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID());
247 Loc = Loc.getLocWithOffset(offs.getOffset());
248 assert(Loc.isFileID());
249 CharSourceRange range = CharSourceRange::getCharRange(Loc,
250 Loc.getLocWithOffset(len));
261 receiver.insert(Loc, text);
  /external/clang/lib/Parse/
ParseTentative.cpp 507 SourceLocation Loc;
508 if (!TryParseCXX11AttributeIdentifier(Loc)) {
514 if (!TryParseCXX11AttributeIdentifier(Loc)) {
    [all...]
  /external/clang/lib/Sema/
SemaAttr.cpp 301 SourceLocation Loc = PP.getPragmaARCCFCodeAuditedLoc();
302 if (!Loc.isValid()) return;
309 D->addAttr(::new (Context) CFAuditedTransferAttr(Loc, Context));
328 SourceLocation loc = Stack->back().second; local
330 D->addAttr(::new (Context) VisibilityAttr(loc, Context, type));
339 static void PushPragmaVisibility(Sema &S, unsigned type, SourceLocation loc) {
345 Stack->push_back(std::make_pair(type, loc));
387 SourceLocation Loc) {
392 PushPragmaVisibility(*this, NoVisibility, Loc);
  /external/clang/unittests/Lex/
LexerTest.cpp 110 SourceLocation Loc;
111 EXPECT_TRUE(Lexer::isAtStartOfMacroExpansion(lsqrLoc, SourceMgr, LangOpts, &Loc));
112 EXPECT_EQ(Loc, macroRange.getBegin());
115 EXPECT_TRUE(Lexer::isAtEndOfMacroExpansion(rsqrLoc, SourceMgr, LangOpts, &Loc));
116 EXPECT_EQ(Loc, macroRange.getEnd());
  /external/llvm/include/llvm/MC/
MCFixup.h 75 SMLoc Loc;
78 MCFixupKind Kind, SMLoc Loc = SMLoc()) {
84 FI.Loc = Loc;
107 SMLoc getLoc() const { return Loc; }
  /external/llvm/lib/Analysis/
MemDepPrinter.cpp 130 AliasAnalysis::Location Loc = AA.getLocation(LI);
131 MDA.getNonLocalPointerDependency(Loc, true, LI->getParent(), NLDI);
139 AliasAnalysis::Location Loc = AA.getLocation(SI);
140 MDA.getNonLocalPointerDependency(Loc, false, SI->getParent(), NLDI);
142 AliasAnalysis::Location Loc = AA.getLocation(VI);
143 MDA.getNonLocalPointerDependency(Loc, false, VI->getParent(), NLDI);

Completed in 441 milliseconds

1 2 3 4 5 6 7