/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/llvm/include/llvm/IR/ |
DebugLoc.h | 35 TrackingMDNodeRef Loc; 39 DebugLoc(DebugLoc &&X) : Loc(std::move(X.Loc)) {} 40 DebugLoc(const DebugLoc &X) : Loc(X.Loc) {} 42 Loc = std::move(X.Loc); 46 Loc = X.Loc; 74 /// the conversion to \c DILocation, this doesn't require that \c Loc is o [all...] |
/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) { 94 SuppressedDiagnostics.emplace_back(Loc, std::move(PD)); 99 void addSuppressedDiagnostic(SourceLocation Loc, 103 SuppressedDiagnostics.emplace_back(Loc, std::move(PD)); 248 SourceLocation Loc; [all...] |
/build/kati/ |
loc.h | 22 struct Loc { 23 Loc() 25 Loc(const char* f, int l)
|
rule.h | 20 #include "loc.h" 34 Loc cmd_loc() const { return Loc(loc.filename, cmd_lineno); } 45 Loc loc; member in class:Rule 50 ERROR("%s:%d: %s", loc.filename, loc.lineno, msg.c_str()); 62 void ParseRule(Loc& loc, StringPiece line, char term [all...] |
parser.h | 20 #include "loc.h" 29 void Parse(StringPiece buf, const Loc& loc, vector<Stmt*>* out_asts); 30 void ParseNotAfterRule(StringPiece buf, const Loc& loc,
|
/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 | 26 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, 34 if (Loc.empty()) 35 Loc = NullLoc; 36 SrcMgr.PrintMessage(Loc.front(), Kind, Msg); 37 for (unsigned i = 1; i < Loc.size(); ++i) 38 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note, 46 void PrintWarning(const char *Loc, const Twine &Msg) { 47 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); 58 void PrintError(const char *Loc, const Twine &Msg) { 59 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg) [all...] |
/external/llvm/tools/llvm-readobj/ |
StackMapPrinter.h | 43 for (const auto &Loc : R.locations()) { 45 switch (Loc.getKind()) { 47 OS << "Register R#" << Loc.getDwarfRegNum(); 50 OS << "Direct R#" << Loc.getDwarfRegNum() << " + " 51 << Loc.getOffset(); 54 OS << "Indirect [R#" << Loc.getDwarfRegNum() << " + " 55 << Loc.getOffset() << "]"; 58 OS << "Constant " << Loc.getSmallConstant(); 61 OS << "ConstantIndex #" << Loc.getConstantIndex() << " (" 62 << SMP.getConstant(Loc.getConstantIndex()).getValue() << ")" [all...] |
/external/clang/include/clang/Lex/ |
PPCallbacks.h | 48 /// \param Loc Indicates the new location. 50 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 155 /// \param Loc The location of the directive. 158 virtual void Ident(SourceLocation Loc, StringRef str) { 162 virtual void PragmaDirective(SourceLocation Loc, 167 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, 173 virtual void PragmaDetectMismatch(SourceLocation Loc, StringRef Name, 178 /// \param Loc The location of the debug directive. 180 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) { 196 /// \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/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/AST/ |
CommentBriefParser.h | 39 SourceLocation Loc = Tok.getLocation(); 41 return Loc;
|
TypeLoc.h | 167 void initialize(ASTContext &Context, SourceLocation Loc) const { 168 initializeImpl(Context, *this, Loc); 187 /// Copies the other type loc into this one. 208 SourceLocation Loc); 263 void initializeLocal(ASTContext &Context, SourceLocation Loc) { 298 if (QualifiedTypeLoc Loc = getAs<QualifiedTypeLoc>()) 299 return Loc.getUnqualifiedLoc(); 496 void setNameLoc(SourceLocation Loc) { 497 this->getLocalData()->NameLoc = Loc; 502 void initializeLocal(ASTContext &Context, SourceLocation Loc) { [all...] |
/external/clang/include/clang/Basic/ |
PrettyStackTrace.h | 29 SourceLocation Loc; 33 : SM(sm), Loc(L), Message(Msg) {}
|
/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 | 81 /// \param Loc -- the SourceLocation of the unresolved expression. 82 virtual void handleInvalidLockExp(StringRef Kind, SourceLocation Loc) {} 89 /// \param Loc -- The SourceLocation of the Unlock 91 SourceLocation Loc) {} 101 /// \param Loc -- The SourceLocation of the Unlock. 104 SourceLocation Loc) {} 110 /// \param Loc -- The location of the second lock expression. 112 SourceLocation Loc) {} 149 /// \param Loc -- The location of the protected operation. 152 SourceLocation Loc) {} [all...] |
/external/compiler-rt/lib/ubsan/ |
ubsan_handlers.cc | 46 Location Loc = Data->Loc.acquire(); 58 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) 62 if (Data->Loc.isInvalid()) { 64 Loc = FallbackLoc; 67 ScopedReport R(Opts, Loc, ET); 71 Diag(Loc, DL_Error, "%0 null pointer of type %1") 75 Diag(Loc, DL_Error, "%0 misaligned address %1 for type %3, " 81 Diag(Loc, DL_Error, "%0 address %1 with insufficient space " 110 SourceLocation Loc = Data->Loc.acquire() [all...] |
ubsan_handlers.h | 21 SourceLocation Loc; 43 SourceLocation Loc; 64 SourceLocation Loc; 75 SourceLocation Loc; 84 SourceLocation Loc; 93 SourceLocation Loc; 108 SourceLocation Loc; 118 SourceLocation Loc; 126 SourceLocation Loc; 135 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/clang/lib/Sema/ |
SemaCoroutine.cpp | 27 SourceLocation Loc) { 31 S.Diag(Loc, diag::err_implied_std_coroutine_traits_not_found); 36 Loc, Sema::LookupOrdinaryName); 38 S.Diag(Loc, diag::err_implied_std_coroutine_traits_not_found); 52 TemplateArgumentListInfo Args(Loc, Loc); 55 S.Context.getTrivialTypeSourceInfo(FnType->getReturnType(), Loc))); 60 TemplateArgument(T), S.Context.getTrivialTypeSourceInfo(T, Loc))); 64 S.CheckTemplateIdType(TemplateName(CoroTraits), Loc, Args); 67 if (S.RequireCompleteType(Loc, CoroTrait [all...] |
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64TargetStreamer.cpp | 30 SMLoc Loc) { 31 return ConstantPools->addEntry(Streamer, Expr, Size, Loc);
|
/external/llvm/lib/DebugInfo/DWARF/ |
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.append(str.begin(), str.end()); 71 Loc.Entries.push_back(std::move(E)); 82 LocationList &Loc = Locations.back(); 83 Loc.Offset = Offset; 103 E.Loc.resize(str.size()) [all...] |