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

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Analysis/
region-store.cpp 4 class Loc {
9 Loc l;
10 void setLoc(Loc L) {
24 int radar13445834(Derived *Builder, Loc l) {
  /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 37 SourceLocation Loc;
50 TemplateDeductionInfo(SourceLocation Loc)
51 : Deduced(0), Loc(Loc), HasSFINAEDiagnostic(false), Expression(0) { }
56 return Loc;
87 void addSFINAEDiagnostic(SourceLocation Loc, PartialDiagnostic PD) {
93 std::make_pair(Loc, PartialDiagnostic::NullDiagnostic()));
99 void addSuppressedDiagnostic(SourceLocation Loc,
104 std::make_pair(Loc, PartialDiagnostic::NullDiagnostic()));
245 SourceLocation Loc;
    [all...]
Weak.h 27 SourceLocation loc; // for diagnostics member in class:clang::WeakInfo
31 : alias(0), loc(SourceLocation()), used(false) {}
32 WeakInfo(IdentifierInfo *Alias, SourceLocation Loc)
33 : alias(Alias), loc(Loc), used(false) {}
35 inline SourceLocation getLocation() const { return loc; }
39 return alias == RHS.getAlias() && loc == RHS.getLocation();
  /external/clang/lib/Lex/
PPConditionalDirectiveRecord.cpp 49 SourceLocation Loc) const {
50 if (Loc.isInvalid())
56 Loc))
61 Loc, CondDirectiveLoc::Comp(SourceMgr));
78 void PPConditionalDirectiveRecord::If(SourceLocation Loc,
81 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back()));
82 CondDirectiveStack.push_back(Loc);
85 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc,
88 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back()));
89 CondDirectiveStack.push_back(Loc);
    [all...]
  /external/clang/include/clang/Lex/
PPCallbacks.h 47 /// \param Loc Indicates the new location.
49 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
153 /// \param Loc The location of the directive.
156 virtual void Ident(SourceLocation Loc, const std::string &str) {
160 virtual void PragmaDirective(SourceLocation Loc,
165 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind,
171 virtual void PragmaDetectMismatch(SourceLocation Loc,
177 /// \param Loc The location of the debug directive.
179 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) {
195 /// \param Loc The location of the message directive
    [all...]
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,
91 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange,
93 virtual void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
95 virtual void Ifndef(SourceLocation Loc, const Token &MacroNameTok
    [all...]
  /external/llvm/lib/TableGen/
Error.cpp 25 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind,
33 if (Loc.empty())
34 Loc = NullLoc;
35 SrcMgr.PrintMessage(Loc.front(), Kind, Msg);
36 for (unsigned i = 1; i < Loc.size(); ++i)
37 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note,
45 void PrintWarning(const char *Loc, const Twine &Msg) {
46 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg);
57 void PrintError(const char *Loc, const Twine &Msg) {
58 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg)
    [all...]
  /external/compiler-rt/lib/ubsan/
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...]
ubsan_diag.cc 28 uptr Loc = StackTrace::GetPreviousInstructionPc(CallerLoc);
31 if (!SymbolizeCode(Loc, &Info, 1) || !Info.module || !*Info.module)
32 return Location(Loc);
69 static void renderLocation(Location Loc) {
70 switch (Loc.getKind()) {
72 SourceLocation SLoc = Loc.getSourceLocation();
83 Printf("%s:0x%zx:", Loc.getModuleLocation().getModuleName(),
84 Loc.getModuleLocation().getOffset());
87 Printf("%p:", Loc.getMemoryLocation());
144 /// Find the earliest-starting range in Ranges which ends after Loc
    [all...]
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;
  /external/clang/include/clang/AST/
CommentBriefParser.h 39 SourceLocation Loc = Tok.getLocation();
41 return Loc;
TypeLoc.h 156 void initialize(ASTContext &Context, SourceLocation Loc) const {
157 initializeImpl(Context, *this, Loc);
191 SourceLocation Loc);
245 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
276 if (QualifiedTypeLoc Loc = getAs<QualifiedTypeLoc>())
277 return Loc.getUnqualifiedLoc();
460 void setNameLoc(SourceLocation Loc) {
461 this->getLocalData()->NameLoc = Loc;
466 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
467 setNameLoc(Loc);
    [all...]
  /external/clang/include/clang/Basic/
PrettyStackTrace.h 29 SourceLocation Loc;
33 : SM(sm), Loc(L), Message(Msg) {}
SourceManager.h 169 /// \param Loc If specified, is the location that invalid file diagnostics
175 SourceLocation Loc = SourceLocation(),
484 // use the #include loc in the common file.
808 SourceLocation createMacroArgExpansionLoc(SourceLocation Loc,
815 SourceLocation createExpansionLoc(SourceLocation Loc,
    [all...]
  /external/clang/tools/libclang/
CXSourceLocation.h 31 SourceLocation Loc) {
32 if (Loc.isInvalid())
36 Loc.getRawEncoding() };
42 SourceLocation Loc) {
45 Loc);
  /external/clang/lib/Frontend/
DiagnosticRenderer.cpp 42 static StringRef getImmediateMacroName(SourceLocation Loc,
45 assert(Loc.isMacroID() && "Only reasonble to call this on macros");
47 while (SM.isMacroArgExpansion(Loc))
48 Loc = SM.getImmediateExpansionRange(Loc).first;
52 if (!SM.getFileEntryForID(SM.getFileID(SM.getSpellingLoc(Loc))))
58 Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).first);
62 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc);
63 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts)
    [all...]
  /external/clang/include/clang/Frontend/
DiagnosticRenderer.h 75 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc,
82 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
89 virtual void emitCodeContext(SourceLocation Loc,
95 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc,
97 virtual void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc,
100 virtual void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
111 void emitIncludeStack(SourceLocation Loc, PresumedLoc PLoc,
113 void emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM);
114 void emitImportStack(SourceLocation Loc, const SourceManager &SM);
115 void emitImportStackRecursively(SourceLocation Loc, StringRef ModuleName
    [all...]
TextDiagnostic.h 79 virtual void emitDiagnosticMessage(SourceLocation Loc,PresumedLoc PLoc,
86 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
91 virtual void emitCodeContext(SourceLocation Loc,
96 emitSnippetAndCaret(Loc, Level, Ranges, Hints, SM);
101 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc,
104 virtual void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc,
108 virtual void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
113 void emitSnippetAndCaret(SourceLocation Loc, DiagnosticsEngine::Level Level,
  /external/clang/include/clang/Analysis/Analyses/
ThreadSafety.h 75 /// \param Loc -- the SourceLocation of the unresolved expression.
76 virtual void handleInvalidLockExp(SourceLocation Loc) {}
82 /// \param Loc -- The SourceLocation of the Unlock
83 virtual void handleUnmatchedUnlock(Name LockName, SourceLocation Loc) {}
88 /// \param Loc -- The location of the second lock expression.
89 virtual void handleDoubleLock(Name LockName, SourceLocation Loc) {}
122 /// \param Loc -- The location of the protected operation.
124 AccessKind AK, SourceLocation Loc) {}
133 /// \param Loc -- The location of the protected operation.
136 LockKind LK, SourceLocation Loc,
    [all...]
  /external/llvm/utils/TableGen/
SetTheory.cpp 30 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) {
31 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc);
37 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) {
39 PrintFatalError(Loc, "Set difference needs at least two arguments: " +
42 ST.evaluate(*Expr->arg_begin(), Add, Loc);
43 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc);
52 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) {
54 PrintFatalError(Loc, "Set intersection requires two arguments: " +
57 ST.evaluate(Expr->arg_begin()[0], S1, Loc);
58 ST.evaluate(Expr->arg_begin()[1], S2, Loc);
    [all...]
  /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/clang/lib/Sema/
DelayedDiagnostic.cpp 22 DelayedDiagnostic DelayedDiagnostic::makeDeprecation(SourceLocation Loc,
30 DD.Loc = Loc;
  /external/llvm/lib/Analysis/
LibCallAliasAnalysis.cpp 47 const Location &Loc) {
69 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc);
90 LibCallLocationInfo::LocResult Res = LocInfo.isLocation(CS, Loc);
121 const Location &Loc) {
129 MRInfo = ModRefResult(MRInfo & AnalyzeLibCallDetails(FI, CS, Loc));
136 return (ModRefResult)(MRInfo | AliasAnalysis::getModRefInfo(CS, Loc));
  /external/llvm/include/llvm/TableGen/
Error.h 23 void PrintWarning(const char *Loc, const Twine &Msg);
27 void PrintError(const char *Loc, const Twine &Msg);

Completed in 1003 milliseconds

1 2 3 4 5 6 7 8 91011>>