Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DLexer.h221 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const;
225 SourceLocation getSourceLocation() { return getSourceLocation(BufferPtr); } in getSourceLocation() function
465 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
DPTHLexer.h97 SourceLocation getSourceLocation();
DPreprocessorLexer.h89 virtual SourceLocation getSourceLocation() = 0;
/external/clang/lib/AST/
DCommentParser.cpp59 SourceLocation getSourceLocation() const { in getSourceLocation() function in clang::comments::TextTokenRetokenizer
154 SourceLocation Loc = getSourceLocation(); in lexWord()
187 SourceLocation Loc = getSourceLocation(); in lexDelimitedSeq()
232 formTokenWithChars(PartialTok, getSourceLocation(), in putBackLeftoverTokens()
DDeclCXX.cpp1586 SourceLocation CXXCtorInitializer::getSourceLocation() const { in getSourceLocation() function in CXXCtorInitializer
1607 return SourceRange(getSourceLocation(), getRParenLoc()); in getSourceRange()
/external/clang/include/clang/AST/
DCommentLexer.h298 Result.setLocation(getSourceLocation(BufferPtr)); in formTokenWithChars()
314 SourceLocation getSourceLocation(const char *Loc) const { in getSourceLocation() function
DDeclCXX.h1946 SourceLocation getSourceLocation() const;
/external/clang/lib/Lex/
DPPDirectives.cpp408 const SourceLocation ConditionalBegin = CurPPLexer->getSourceLocation(); in SkipExcludedConditionalBlock()
423 const SourceLocation ConditionalEnd = CurPPLexer->getSourceLocation(); in SkipExcludedConditionalBlock()
941 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleLineDirective()
1095 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), Reason, FileKind); in HandleDigitDirective()
2171 const SourceLocation ConditionalBegin = CurPPLexer->getSourceLocation(); in HandleIfDirective()
2173 const SourceLocation ConditionalEnd = CurPPLexer->getSourceLocation(); in HandleIfDirective()
2265 const SourceLocation ConditionalBegin = CurPPLexer->getSourceLocation(); in HandleElifDirective()
2267 const SourceLocation ConditionalEnd = CurPPLexer->getSourceLocation(); in HandleElifDirective()
DLexer.cpp563 SourceLocation StartLoc = TheLexer.getSourceLocation(); in ComputePreamble()
1057 SourceLocation Lexer::getSourceLocation(const char *Loc, in getSourceLocation() function in Lexer
1077 return PP->Diag(getSourceLocation(Loc), DiagID); in Diag()
1387 return CharSourceRange::getCharRange(L.getSourceLocation(Begin), in makeCharRange()
1388 L.getSourceLocation(End)); in makeCharRange()
1602 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix()
1626 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix()
2019 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipLineComment()
2020 getSourceLocation(CurPtr)))) { in SkipLineComment()
2289 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipBlockComment()
[all …]
DPPLexerChange.cpp326 SourceMgr.getFileCharacteristic(CurPPLexer->getSourceLocation()); in HandleEndOfFile()
327 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleEndOfFile()
DPTHLexer.cpp288 SourceLocation PTHLexer::getSourceLocation() { in getSourceLocation() function in PTHLexer
/external/compiler-rt/lib/ubsan/
Dubsan_diag.h65 SourceLocation getSourceLocation() const { in getSourceLocation() function
Dubsan_diag.cc72 SourceLocation SLoc = Loc.getSourceLocation(); in renderLocation()
Dubsan_handlers.cc34 if (Loc.getSourceLocation().isDisabled()) in handleTypeMismatchImpl()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp3696 Init->getSourceLocation(), in InstantiateMemInitializers()
3731 Init->getSourceLocation(), in InstantiateMemInitializers()
3757 Init->getSourceLocation()); in InstantiateMemInitializers()
3771 Init->getSourceLocation()); in InstantiateMemInitializers()
DSemaDeclCXX.cpp3307 MarkFunctionReferenced(Initializer->getSourceLocation(), Dtor); in SetDelegatingInitializer()
3308 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); in SetDelegatingInitializer()
3377 Diag(Value->getSourceLocation(), diag::warn_abstract_vbase_init_ignored) in SetCtorInitializers()
3521 Init->getSourceLocation()) in DiagnoseBaseOrMemInitializerOrder()
3579 SemaRef.Diag(PrevInit->getSourceLocation(), in DiagnoseBaseOrMemInitializerOrder()
3615 S.Diag(Init->getSourceLocation(), in CheckRedundantInit()
3622 S.Diag(Init->getSourceLocation(), in CheckRedundantInit()
3627 S.Diag(PrevInit->getSourceLocation(), diag::note_previous_initializer) in CheckRedundantInit()
3647 S.Diag(Init->getSourceLocation(), in CheckRedundantUnionInit()
3651 S.Diag(En.second->getSourceLocation(), diag::note_previous_initializer) in CheckRedundantUnionInit()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp663 return PathDiagnosticLocation(PIP->getInitializer()->getSourceLocation(), in create()
DExprEngine.cpp443 BMI->getSourceLocation(), in ProcessInitializer()