HomeSort by relevance Sort by last modified time
    Searched refs:Loc (Results 1 - 25 of 431) 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 38 SourceLocation Loc;
51 TemplateDeductionInfo(SourceLocation Loc)
52 : Deduced(nullptr), Loc(Loc), HasSFINAEDiagnostic(false),
58 return Loc;
89 void addSFINAEDiagnostic(SourceLocation Loc, PartialDiagnostic PD) {
95 std::make_pair(Loc, PartialDiagnostic::NullDiagnostic()));
101 void addSuppressedDiagnostic(SourceLocation Loc,
106 std::make_pair(Loc, PartialDiagnostic::NullDiagnostic()));
252 SourceLocation Loc;
    [all...]
Weak.h 27 SourceLocation loc; // for diagnostics member in class:clang::WeakInfo
31 : alias(nullptr), 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/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...]
SetTheory.cpp 31 ArrayRef<SMLoc> Loc) override {
32 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc);
39 ArrayRef<SMLoc> Loc) override {
41 PrintFatalError(Loc, "Set difference needs at least two arguments: " +
44 ST.evaluate(*Expr->arg_begin(), Add, Loc);
45 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc);
55 ArrayRef<SMLoc> Loc) override {
57 PrintFatalError(Loc, "Set intersection requires two arguments: " +
60 ST.evaluate(Expr->arg_begin()[0], S1, Loc);
61 ST.evaluate(Expr->arg_begin()[1], S2, 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 void If(SourceLocation Loc, SourceRange ConditionRange,
91 void Elif(SourceLocation Loc, SourceRange ConditionRange,
93 void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
95 void Ifndef(SourceLocation Loc, const Token &MacroNameTok
    [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_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 SourceLocation Loc;
116 SourceLocation Loc;
ubsan_diag.cc 56 uptr Loc = StackTrace::GetPreviousInstructionPc(CallerLoc);
57 return getFunctionLocation(Loc, 0);
60 Location __ubsan::getFunctionLocation(uptr Loc, const char **FName) {
61 if (!Loc)
66 if (!Symbolizer::GetOrInit()->SymbolizePC(Loc, &Info, 1) ||
68 return Location(Loc);
108 static void renderLocation(Location Loc) {
110 switch (Loc.getKind()) {
112 SourceLocation SLoc = Loc.getSourceLocation();
121 PrintModuleAndOffset(&LocBuffer, Loc.getModuleLocation().getModuleName()
    [all...]
  /external/clang/include/clang/AST/
CommentBriefParser.h 39 SourceLocation Loc = Tok.getLocation();
41 return Loc;
TypeLoc.h 159 void initialize(ASTContext &Context, SourceLocation Loc) const {
160 initializeImpl(Context, *this, Loc);
194 SourceLocation Loc);
248 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
279 if (QualifiedTypeLoc Loc = getAs<QualifiedTypeLoc>())
280 return Loc.getUnqualifiedLoc();
463 void setNameLoc(SourceLocation Loc) {
464 this->getLocalData()->NameLoc = Loc;
469 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
470 setNameLoc(Loc);
    [all...]
LambdaCapture.h 40 SourceLocation Loc;
49 /// \param Loc The source location associated with this capture.
62 LambdaCapture(SourceLocation Loc, bool Implicit, LambdaCaptureKind Kind,
107 SourceLocation getLocation() const { return Loc; }
  /external/clang/include/clang/Basic/
PrettyStackTrace.h 29 SourceLocation Loc;
33 : SM(sm), Loc(L), Message(Msg) {}
SourceManager.h 181 /// \param Loc If specified, is the location that invalid file diagnostics
187 SourceLocation Loc = SourceLocation(),
499 // use the #include loc in the common file.
803 SourceLocation createMacroArgExpansionLoc(SourceLocation Loc,
810 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/include/clang/Analysis/Analyses/
ThreadSafety.h 77 /// \param Loc -- the SourceLocation of the unresolved expression.
78 virtual void handleInvalidLockExp(StringRef Kind, SourceLocation Loc) {}
85 /// \param Loc -- The SourceLocation of the Unlock
87 SourceLocation Loc) {}
97 /// \param Loc -- The SourceLocation of the Unlock.
100 SourceLocation Loc) {}
106 /// \param Loc -- The location of the second lock expression.
108 SourceLocation Loc) {}
145 /// \param Loc -- The location of the protected operation.
148 SourceLocation Loc) {}
    [all...]
  /external/clang/include/clang/Frontend/
DiagnosticRenderer.h 75 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc,
82 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
87 virtual void emitCodeContext(SourceLocation Loc,
93 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc,
95 virtual void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc,
98 virtual void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
110 void emitIncludeStack(SourceLocation Loc, PresumedLoc PLoc,
112 void emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM);
113 void emitImportStack(SourceLocation Loc, const SourceManager &SM);
114 void emitImportStackRecursively(SourceLocation Loc, StringRef ModuleName
    [all...]
TextDiagnostic.h 78 void emitDiagnosticMessage(SourceLocation Loc,PresumedLoc PLoc,
85 void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
90 void emitCodeContext(SourceLocation Loc,
95 emitSnippetAndCaret(Loc, Level, Ranges, Hints, SM);
98 void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc,
101 void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc,
105 void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
110 void emitSnippetAndCaret(SourceLocation Loc, DiagnosticsEngine::Level Level,
  /external/llvm/lib/DebugInfo/
DWARFDebugLoc.cpp 30 for (unsigned char Loc : E.Loc) {
31 OS << format("%2.2x ", Loc);
42 LocationList &Loc = Locations.back();
43 Loc.Offset = Offset;
70 E.Loc.reserve(str.size());
71 std::copy(str.begin(), str.end(), std::back_inserter(E.Loc));
72 Loc.Entries.push_back(std::move(E));
83 LocationList &Loc = Locations.back();
84 Loc.Offset = Offset
    [all...]
  /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/llvm/include/llvm/MC/
MCFixup.h 76 SMLoc Loc;
79 MCFixupKind Kind, SMLoc Loc = SMLoc()) {
85 FI.Loc = Loc;
108 SMLoc getLoc() const { return 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));

Completed in 304 milliseconds

1 2 3 4 5 6 7 8 91011>>