Home
last modified time | relevance | path

Searched refs:getSourceLocation (Results 1 – 14 of 14) sorted by relevance

/external/clang/include/clang/Lex/
DLexer.h212 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const;
216 SourceLocation getSourceLocation() { return getSourceLocation(BufferPtr); } in getSourceLocation() function
445 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
DPTHLexer.h97 SourceLocation getSourceLocation();
DPreprocessorLexer.h89 virtual SourceLocation getSourceLocation() = 0;
/external/clang/lib/AST/
DCommentParser.cpp58 SourceLocation getSourceLocation() const { in getSourceLocation() function in clang::comments::TextTokenRetokenizer
158 SourceLocation Loc = getSourceLocation(); in lexWord()
192 SourceLocation Loc = getSourceLocation(); in lexDelimitedSeq()
237 formTokenWithChars(PartialTok, getSourceLocation(), in putBackLeftoverTokens()
DDeclCXX.cpp1584 SourceLocation CXXCtorInitializer::getSourceLocation() const { in getSourceLocation() function in CXXCtorInitializer
1605 return SourceRange(getSourceLocation(), getRParenLoc()); in getSourceRange()
/external/clang/lib/Lex/
DPPDirectives.cpp374 const SourceLocation ConditionalBegin = CurPPLexer->getSourceLocation(); in SkipExcludedConditionalBlock()
389 const SourceLocation ConditionalEnd = CurPPLexer->getSourceLocation(); in SkipExcludedConditionalBlock()
878 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleLineDirective()
1032 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), Reason, FileKind); in HandleDigitDirective()
2005 const SourceLocation ConditionalBegin = CurPPLexer->getSourceLocation(); in HandleIfDirective()
2007 const SourceLocation ConditionalEnd = CurPPLexer->getSourceLocation(); in HandleIfDirective()
2097 const SourceLocation ConditionalBegin = CurPPLexer->getSourceLocation(); in HandleElifDirective()
2099 const SourceLocation ConditionalEnd = CurPPLexer->getSourceLocation(); in HandleElifDirective()
DPPLexerChange.cpp301 SourceMgr.getFileCharacteristic(CurPPLexer->getSourceLocation()); in HandleEndOfFile()
302 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleEndOfFile()
DLexer.cpp1164 SourceLocation Lexer::getSourceLocation(const char *Loc, in getSourceLocation() function in Lexer
1184 return PP->Diag(getSourceLocation(Loc), DiagID); in Diag()
1603 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix()
1616 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix()
1997 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipBCPLComment()
1998 getSourceLocation(CurPtr)))) { in SkipBCPLComment()
2267 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipBlockComment()
2268 getSourceLocation(CurPtr)))) { in SkipBlockComment()
2394 << FixItHint::CreateInsertion(getSourceLocation(BufferEnd), "\n"); in LexEndOfFile()
DPTHLexer.cpp292 SourceLocation PTHLexer::getSourceLocation() { in getSourceLocation() function in PTHLexer
/external/clang/include/clang/AST/
DCommentLexer.h294 Result.setLocation(getSourceLocation(BufferPtr)); in formTokenWithChars()
310 SourceLocation getSourceLocation(const char *Loc) const { in getSourceLocation() function
DDeclCXX.h1856 SourceLocation getSourceLocation() const;
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp3015 Init->getSourceLocation(), in InstantiateMemInitializers()
3050 Init->getSourceLocation(), in InstantiateMemInitializers()
3076 Init->getSourceLocation()); in InstantiateMemInitializers()
3090 Init->getSourceLocation()); in InstantiateMemInitializers()
DSemaDeclCXX.cpp2933 MarkFunctionReferenced(Initializer->getSourceLocation(), Dtor); in SetDelegatingInitializer()
2934 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); in SetDelegatingInitializer()
3146 Init->getSourceLocation()) in DiagnoseBaseOrMemInitializerOrder()
3204 SemaRef.Diag(PrevInit->getSourceLocation(), in DiagnoseBaseOrMemInitializerOrder()
3240 S.Diag(Init->getSourceLocation(), in CheckRedundantInit()
3247 S.Diag(Init->getSourceLocation(), in CheckRedundantInit()
3252 S.Diag(PrevInit->getSourceLocation(), diag::note_previous_initializer) in CheckRedundantInit()
3272 S.Diag(Init->getSourceLocation(), in CheckRedundantUnionInit()
3276 S.Diag(En.second->getSourceLocation(), diag::note_previous_initializer) in CheckRedundantUnionInit()
3346 Diag(MemInits[0]->getSourceLocation(), in ActOnMemInitializers()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp361 BMI->getSourceLocation(), in ProcessInitializer()