Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DLexer.h195 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const;
199 SourceLocation getSourceLocation() { return getSourceLocation(BufferPtr); } in getSourceLocation() function
345 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
DPTHLexer.h97 SourceLocation getSourceLocation();
DPreprocessorLexer.h86 virtual SourceLocation getSourceLocation() = 0;
/external/clang/lib/Lex/
DPPDirectives.cpp350 const SourceLocation ConditionalBegin = CurPPLexer->getSourceLocation(); in SkipExcludedConditionalBlock()
365 const SourceLocation ConditionalEnd = CurPPLexer->getSourceLocation(); in SkipExcludedConditionalBlock()
797 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleLineDirective()
948 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), Reason, FileKind); in HandleDigitDirective()
1691 const SourceLocation ConditionalBegin = CurPPLexer->getSourceLocation(); in HandleIfDirective()
1693 const SourceLocation ConditionalEnd = CurPPLexer->getSourceLocation(); in HandleIfDirective()
1782 const SourceLocation ConditionalBegin = CurPPLexer->getSourceLocation(); in HandleElifDirective()
1784 const SourceLocation ConditionalEnd = CurPPLexer->getSourceLocation(); in HandleElifDirective()
DPPLexerChange.cpp213 SourceMgr.getFileCharacteristic(CurPPLexer->getSourceLocation()); in HandleEndOfFile()
214 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleEndOfFile()
DLexer.cpp922 SourceLocation Lexer::getSourceLocation(const char *Loc, in getSourceLocation() function in Lexer
942 return PP->Diag(getSourceLocation(Loc), DiagID); in Diag()
1521 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipBCPLComment()
1522 getSourceLocation(CurPtr)))) { in SkipBCPLComment()
1778 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipBlockComment()
1779 getSourceLocation(CurPtr)))) { in SkipBlockComment()
1913 << FixItHint::CreateInsertion(getSourceLocation(BufferEnd), "\n"); in LexEndOfFile()
DPTHLexer.cpp292 SourceLocation PTHLexer::getSourceLocation() { in getSourceLocation() function in PTHLexer
/external/clang/lib/AST/
DDeclCXX.cpp1381 SourceLocation CXXCtorInitializer::getSourceLocation() const { in getSourceLocation() function in CXXCtorInitializer
1399 return SourceRange(getSourceLocation(), getRParenLoc()); in getSourceRange()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp2234 MarkDeclarationReferenced(Initializer->getSourceLocation(), Dtor); in SetDelegatingInitializer()
2235 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); in SetDelegatingInitializer()
2417 Init->getSourceLocation()) in DiagnoseBaseOrMemInitializerOrder()
2471 SemaRef.Diag(PrevInit->getSourceLocation(), in DiagnoseBaseOrMemInitializerOrder()
2507 S.Diag(Init->getSourceLocation(), in CheckRedundantInit()
2514 S.Diag(Init->getSourceLocation(), in CheckRedundantInit()
2519 S.Diag(PrevInit->getSourceLocation(), diag::note_previous_initializer) in CheckRedundantInit()
2541 S.Diag(Init->getSourceLocation(), in CheckRedundantUnionInit()
2545 S.Diag(En.second->getSourceLocation(), diag::note_previous_initializer) in CheckRedundantUnionInit()
2611 Diag(MemInits[0]->getSourceLocation(), in ActOnMemInitializers()
[all …]
DSemaTemplateInstantiateDecl.cpp2699 Init->getSourceLocation(), in InstantiateMemInitializers()
2738 Init->getSourceLocation(), in InstantiateMemInitializers()
2766 Init->getSourceLocation(), in InstantiateMemInitializers()
2783 Init->getSourceLocation(), in InstantiateMemInitializers()
/external/clang/include/clang/AST/
DDeclCXX.h1538 SourceLocation getSourceLocation() const;