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

1 2 3 4 5

  /external/clang/include/clang/Basic/
PrettyStackTrace.h 28 SourceLocation Loc;
32 : SM(sm), Loc(L), Message(Msg) {}
  /external/clang/include/clang/Sema/
PrettyDeclStackTrace.h 34 SourceLocation Loc;
38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc, const char *Msg)
39 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {}
TemplateDeduction.h 40 SourceLocation Loc;
51 TemplateDeductionInfo(ASTContext &Context, SourceLocation Loc)
52 : Context(Context), Deduced(0), Loc(Loc) { }
61 return Loc;
79 void addSuppressedDiagnostic(SourceLocation Loc, const PartialDiagnostic &PD) {
80 SuppressedDiagnostics.push_back(std::make_pair(Loc, PD));
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 Loc(TemplateLoc), SS(SS), EllipsisLoc() { }
88 SourceLocation getLocation() const { return Loc; }
122 SourceLocation Loc;
ScopeInfo.h 37 SourceLocation Loc;
40 PossiblyUnreachableDiag(const PartialDiagnostic &PD, SourceLocation Loc,
42 : PD(PD), Loc(Loc), stmt(stmt) {}
DelayedDiagnostic.h 120 SourceLocation Loc;
124 static DelayedDiagnostic makeDeprecation(SourceLocation Loc,
128 static DelayedDiagnostic makeAccess(SourceLocation Loc,
133 DD.Loc = Loc;
138 static DelayedDiagnostic makeForbiddenType(SourceLocation loc,
145 DD.Loc = loc;
173 /// Diag(diag.Loc, diag.getForbiddenTypeDiagnostic())
  /external/llvm/utils/TableGen/
Error.h 23 SMLoc Loc;
26 TGError(SMLoc loc, const std::string &message) : Loc(loc), Message(message) {}
28 SMLoc getLoc() const { return Loc; }
33 void PrintError(const char *Loc, const Twine &Msg);
TGParser.h 37 SMLoc Loc;
40 : Name(N), Bits(B), Value(V), Loc(L) {
74 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV);
75 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName,
  /external/clang/lib/ARCMigrate/
TransARCAssign.cpp 45 SourceLocation Loc = OrigLoc;
49 Expr::isModifiableLvalueResult IsLV = E->isModifiableLvalue(Ctx, &Loc);
  /external/llvm/include/llvm/ExecutionEngine/
JITEventListener.h 36 DebugLoc Loc;
  /external/clang/lib/StaticAnalyzer/Checkers/
AnalyzerStatsChecker.cpp 77 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation());
78 if (Loc.isValid()) {
79 output << Loc.getFilename() << " : ";
86 output << "block(line:" << Loc.getLine() << ":col:" << Loc.getColumn();
  /external/llvm/lib/Analysis/
MemDepPrinter.cpp 106 AliasAnalysis::Location Loc = AA.getLocation(LI);
107 MDA.getNonLocalPointerDependency(Loc, !LI->isVolatile(),
111 AliasAnalysis::Location Loc = AA.getLocation(SI);
112 MDA.getNonLocalPointerDependency(Loc, false, SI->getParent(), NLDI);
114 AliasAnalysis::Location Loc = AA.getLocation(VI);
115 MDA.getNonLocalPointerDependency(Loc, false, VI->getParent(), NLDI);
  /external/llvm/lib/Transforms/IPO/
FunctionAttrs.cpp 143 AliasAnalysis::Location Loc(Arg,
146 if (!AA->pointsToConstantMemory(Loc, /*OrLocal=*/true)) {
168 AliasAnalysis::Location Loc = AA->getLocation(LI);
169 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true))
175 AliasAnalysis::Location Loc = AA->getLocation(SI);
176 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true))
181 AliasAnalysis::Location Loc = AA->getLocation(VI);
182 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true))
  /external/clang/include/clang/AST/
Attr.h 60 SourceLocation Loc;
89 : Loc(L), AttrKind(AK), Inherited(false) {}
97 SourceLocation getLocation() const { return Loc; }
98 void setLocation(SourceLocation L) { Loc = L; }
DependentDiagnostic.h 41 SourceLocation Loc,
49 DD->AccessData.Loc = Loc.getRawEncoding();
74 return SourceLocation::getFromRawEncoding(AccessData.Loc);
113 unsigned Loc;
  /external/clang/lib/Analysis/
ReachableCode.cpp 186 SourceLocation Loc;
190 : Loc(l), R1(r1), R2(r2) { }
292 if (I->Loc.isValid())
293 CB.HandleUnreachable(I->Loc, I->R1, I->R2);
  /external/clang/include/clang/Index/
ASTLocation.h 48 SourceLocation Loc;
51 NamedRef(NamedDecl *nd, SourceLocation loc) : ND(nd), Loc(loc) { }
82 ASTLocation(const Decl *parentDecl, NamedDecl *ndRef, SourceLocation loc)
86 NDRef.RawLoc = loc.getRawEncoding();
  /external/clang/include/clang/Lex/
Token.h 38 SourceLocation Loc;
113 SourceLocation getLocation() const { return Loc; }
119 void setLocation(SourceLocation L) { Loc = L; }
159 Loc = SourceLocation();
  /external/clang/lib/CodeGen/
CodeGenAction.cpp 156 SourceLocation Loc = SourceLocation::getFromRawEncoding(LocCookie);
157 ((BackendConsumer*)Context)->InlineAsmDiagHandler2(SM, Loc);
207 FullSourceLoc Loc;
209 Loc = ConvertBackendLocation(D, Context->getSourceManager());
219 Diags.Report(Loc, diag::note_fe_inline_asm_here);
224 // If Loc is invalid, we still need to report the error, it just gets no
226 Diags.Report(Loc, diag::err_fe_inline_asm).AddString(Message);
323 SourceLocation Loc = SM.getLocation(
335 CI.getDiagnostics().Report(Loc, DiagID);
  /external/clang/lib/Frontend/
CompilerInstance.cpp 339 const ParsedSourceLocation &Loc = getFrontendOpts().CodeCompletionAt;
343 Loc.FileName, Loc.Line, Loc.Column,
350 } else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName,
351 Loc.Line, Loc.Column)) {
  /external/clang/lib/Lex/
PPExpressions.cpp 318 SourceLocation Loc = PeekTok.getLocation();
321 Result.setBegin(Loc);
331 PP.Diag(Loc, diag::warn_pp_expr_overflow) << Result.getRange();
Preprocessor.cpp 184 void Preprocessor::DumpLocation(SourceLocation Loc) const {
185 Loc.dump(SourceMgr);
335 SourceLocation Loc = ScratchBuf->getToken(Buf, Len, DestPtr);
338 Loc = SourceMgr.createInstantiationLoc(Loc, ExpansionLoc,
340 Tok.setLocation(Loc);
TokenLexer.cpp 576 SourceLocation Loc =
582 PP.Diag(Loc,
669 /// \brief If \arg loc is a FileID and points inside the current macro
672 SourceLocation TokenLexer::getMacroExpansionLocation(SourceLocation loc) const {
675 assert(loc.isValid());
679 if (loc.isFileID() &&
680 SM.isInFileID(loc,
  /external/clang/lib/Sema/
JumpDiagnostics.cpp 53 /// Loc - Location to emit the diagnostic.
54 SourceLocation Loc;
58 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {}
263 SourceLocation Loc = D->getLocation();
264 if (Loc.isInvalid())
265 Loc = BDecl->getLocation();
267 Diags.first, Diags.second, Loc));
655 S.Diag(Scopes[I].Loc, Scopes[I].OutDiag);
660 S.Diag(Scopes[I].Loc, Scopes[I].InDiag);
694 S.Diag(Scopes[ToScopes[i]].Loc, Scopes[ToScopes[i]].InDiag)
    [all...]
SemaInit.cpp 257 SourceLocation Loc = ILE->getSourceRange().getBegin();
270 SemaRef.Diag(Loc, diag::err_init_reference_member_uninitialized)
279 InitializationKind Kind = InitializationKind::CreateValue(Loc, Loc, Loc,
322 SourceLocation Loc = ILE->getSourceRange().getBegin();
324 Loc = ILE->getSyntacticForm()->getSourceRange().getBegin();
387 InitializationKind Kind = InitializationKind::CreateValue(Loc, Loc, Loc,
    [all...]

Completed in 748 milliseconds

1 2 3 4 5