/external/clang/include/clang/Lex/ |
Preprocessor.h | 607 SourceLocation Loc, 609 DefMacroDirective *MD = AllocateDefMacroDirective(MI, Loc, isImported); 629 /// \brief Return the name of the macro defined before \p Loc that has 632 StringRef getLastMacroWithSpelling(SourceLocation Loc, 717 SourceLocation Loc); [all...] |
/external/clang/include/clang/Sema/ |
Overload.h | 718 SourceLocation Loc; 730 OverloadCandidateSet(SourceLocation Loc, CandidateSetKind CSK) 731 : Loc(Loc), Kind(CSK), NumInlineSequences(0) {} 734 SourceLocation getLocation() const { return Loc; } 781 OverloadingResult BestViableFunction(Sema &S, SourceLocation Loc, 789 SourceLocation Loc = SourceLocation()); 795 SourceLocation Loc,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
CheckerDocumentation.cpp | 123 /// \param Loc The value of the location (pointer). 128 void checkLocation(SVal Loc, bool IsLoad, const Stmt *S, 133 /// \param Loc The value of the location (pointer). 134 /// \param Val The value which will be stored at the location Loc. 138 void checkBind(SVal Loc, SVal Val, const Stmt *S, CheckerContext &) const {}
|
/external/clang/unittests/Basic/ |
SourceManagerTest.cpp | 247 SourceLocation Loc; 251 MacroAction(SourceLocation Loc, StringRef Name, bool isDefinition) 252 : Loc(Loc), Name(Name), isDefinition(isDefinition) { } 353 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[3].Loc, Macros[4].Loc)); 357 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[7].Loc, Macros[8].Loc));
|
/external/llvm/include/llvm/CodeGen/ |
GCMetadata.h | 65 DebugLoc Loc; 68 : Kind(K), Label(L), Loc(DL) {}
|
/external/clang/lib/Parse/ |
ParseStmtAsm.cpp | 49 ClangAsmParserCallback(Parser &P, SourceLocation Loc, StringRef AsmString, 51 : TheParser(P), AsmLoc(Loc), AsmString(AsmString), AsmToks(Toks), 154 SourceLocation Loc = AsmLoc; 157 Loc = Tok.getLocation(); 158 Loc = Loc.getLocWithOffset(Offset - TokOffset); 160 TheParser.Diag(Loc, diag::err_inline_ms_asm_parsing) << D.getMessage(); 592 SourceLocation Loc = Tok.getLocation(); 597 Diag(Loc, diag::w_asm_qualifier_ignored) << "const"; 599 Diag(Loc, diag::w_asm_qualifier_ignored) << "restrict" [all...] |
ParseExprCXX.cpp | 795 SourceLocation Loc; 802 Loc = ConsumeToken(); 818 Loc = ConsumeToken(); [all...] |
/external/clang/lib/Rewrite/Core/ |
Rewriter.cpp | 216 unsigned Rewriter::getLocationOffsetAndFileID(SourceLocation Loc, 218 assert(Loc.isValid() && "Invalid location"); 219 std::pair<FileID,unsigned> V = SourceMgr->getDecomposedLoc(Loc); 242 bool Rewriter::InsertText(SourceLocation Loc, StringRef Str, 244 if (!isRewritable(Loc)) return true; 246 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID); 283 bool Rewriter::InsertTextAfterToken(SourceLocation Loc, StringRef Str) { 284 if (!isRewritable(Loc)) return true; 286 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID); 289 StartOffs += getRangeSize(SourceRange(Loc, Loc), rangeOpts) [all...] |
/external/clang/lib/Sema/ |
Sema.cpp | 47 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { 48 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); 250 bool Sema::makeUnavailableInSystemHeader(SourceLocation loc, 261 if (!Context.getSourceManager().isInSystemHeader(loc)) 267 fn->addAttr(UnavailableAttr::CreateImplicit(Context, msg, loc)); 1008 SourceLocation loc = locref; local [all...] |
SemaObjCProperty.cpp | 275 SourceLocation LParenLoc, SourceLocation &Loc) { 296 Loc = Tok.getLocation(); [all...] |
SemaStmt.cpp | 123 SourceLocation Loc; 131 Loc = Op->getOperatorLoc(); 150 Loc = Op->getOperatorLoc(); 160 if (S.SourceMgr.isMacroBodyExpansion(Loc)) 163 S.Diag(Loc, diag::warn_unused_comparison) 170 S.Diag(Loc, diag::note_inequality_comparison_to_or_assign) 171 << FixItHint::CreateReplacement(Loc, "|="); 173 S.Diag(Loc, diag::note_equality_comparison_to_assign) 174 << FixItHint::CreateReplacement(Loc, "="); 198 SourceLocation Loc; [all...] |
/external/clang/include/clang/AST/ |
CommentSema.h | 64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { 65 return Diags.Report(Loc, DiagID); 159 VerbatimBlockComment *actOnVerbatimBlockStart(SourceLocation Loc, 162 VerbatimBlockLineComment *actOnVerbatimBlockLine(SourceLocation Loc,
|
Expr.h | 233 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc, 293 /// \param Loc [in,out] - A source location which *may* be filled 297 isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const; 384 /// \param Loc A source location that might be filled with a relevant location 386 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ 387 return ClassifyImpl(Ctx, &Loc); 425 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const; 480 /// valid i-c-e, return false and fill in Loc (if specified) with the location 486 SourceLocation *Loc = nullptr, 489 SourceLocation *Loc = nullptr) const [all...] |
/external/clang/include/clang/Analysis/Analyses/ |
LiveVariables.h | 90 bool isLive(const Stmt *Loc, const Stmt *StmtVal);
|
/external/clang/include/clang/Rewrite/Frontend/ |
FixItRewriter.h | 123 void Diag(SourceLocation Loc, unsigned DiagID);
|
/external/clang/lib/ARCMigrate/ |
TransProtectedScope.cpp | 190 bool isInRange(SourceLocation Loc, SourceRange R) { 191 if (Loc.isInvalid()) 193 return !SM.isBeforeInTranslationUnit(Loc, R.getBegin()) && 194 SM.isBeforeInTranslationUnit(Loc, R.getEnd());
|
/external/clang/tools/libclang/ |
CIndexer.h | 102 /// \brief If \c Loc resides inside the definition of \c MI and it points at 106 SourceLocation Loc,
|
/external/clang/unittests/AST/ |
MatchVerifier.h | 156 SourceLocation Loc = getLocation(Node); 157 unsigned Line = Result.SourceManager->getSpellingLineNumber(Loc); 158 unsigned Column = Result.SourceManager->getSpellingColumnNumber(Loc); 164 Loc.print(Msg, *Result.SourceManager);
|
/external/llvm/include/llvm/Analysis/ |
MemoryDependenceAnalysis.h | 371 void getNonLocalPointerDependency(const AliasAnalysis::Location &Loc, 401 MemDepResult getPointerDependencyFrom(const AliasAnalysis::Location &Loc, 426 const AliasAnalysis::Location &Loc, 431 MemDepResult GetNonLocalInfoForBlock(const AliasAnalysis::Location &Loc,
|
/frameworks/compile/slang/ |
slang_rs.h | 95 static bool IsLocInRSHeaderFile(const clang::SourceLocation &Loc,
|
/external/clang/lib/AST/ |
ASTImporter.cpp | 83 SourceLocation &Loc); 241 DiagnosticBuilder Diag1(SourceLocation Loc, unsigned DiagID) { 246 return C1.getDiagnostics().Report(Loc, DiagID); 249 DiagnosticBuilder Diag2(SourceLocation Loc, unsigned DiagID) { 254 return C2.getDiagnostics().Report(Loc, DiagID); [all...] |
/external/clang/lib/CodeGen/ |
CGDebugInfo.h | 182 uint64_t sizeInBitsOverride, SourceLocation loc, 207 void CreateLexicalBlock(SourceLocation Loc); 215 /// setLocation - Update the current source location. If \arg loc is 217 void setLocation(SourceLocation Loc); 225 void EmitLocation(CGBuilderTy &Builder, SourceLocation Loc, 230 /// \param Loc The location of the function header. 233 SourceLocation Loc, SourceLocation ScopeLoc, 242 void EmitLexicalBlockStart(CGBuilderTy &Builder, SourceLocation Loc); 246 void EmitLexicalBlockEnd(CGBuilderTy &Builder, SourceLocation Loc); 294 SourceLocation Loc); [all...] |
/external/clang/lib/Frontend/ |
DependencyFile.cpp | 38 void FileChanged(SourceLocation Loc, FileChangeReason Reason, 48 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); 157 void FileChanged(SourceLocation Loc, FileChangeReason Reason, 229 void DFGImpl::FileChanged(SourceLocation Loc, 242 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc)));
|
/external/llvm/lib/IR/ |
DebugLoc.cpp | 138 DILocation Loc(N); 139 MDNode *Scope = Loc.getScope(); 141 return get(Loc.getLineNumber(), Loc.getColumnNumber(), Scope, 142 Loc.getOrigLocation());
|
/external/clang/lib/StaticAnalyzer/Core/ |
SimpleSValBuilder.cpp | 26 SVal evalCastFromLoc(Loc val, QualType castTy) override; 39 Loc lhs, Loc rhs, QualType resultTy) override; 41 Loc lhs, NonLoc rhs, QualType resultTy) override; 63 assert(Val.getAs<Loc>() || Val.getAs<NonLoc>()); 64 return Val.getAs<Loc>() ? evalCastFromLoc(Val.castAs<Loc>(), CastTy) 70 bool isLocType = Loc::isLocType(castTy); 124 SVal SimpleSValBuilder::evalCastFromLoc(Loc val, QualType castTy) { 132 if (Loc::isLocType(castTy) || castTy->isReferenceType() [all...] |