Lines Matching defs:SourceLocation
35 #include "clang/Basic/SourceLocation.h"
214 setCurrentFPEvalMethod(SourceLocation(), Target.getFPEvalMethod());
217 setCurrentFPEvalMethod(SourceLocation(), getLangOpts().getFPEvalMethod());
264 void Preprocessor::DumpLocation(SourceLocation Loc) const {
361 SourceLocation Loc,
363 SourceLocation BestLocation;
375 SourceLocation Location = Def.getLocation();
492 SourceLocation ExpansionLocStart,
493 SourceLocation ExpansionLocEnd) {
497 SourceLocation Loc = ScratchBuf->getToken(Str.data(), Str.size(), DestPtr);
511 SourceLocation Preprocessor::SplitToken(SourceLocation Loc, unsigned Length) {
513 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc);
518 return SourceLocation();
522 SourceLocation Spelling =
558 EnterSourceFile(MainFileID, nullptr, SourceLocation());
581 EnterSourceFile(FID, nullptr, SourceLocation());
587 SourceLocation(), PPOpts->PCHThroughHeader,
593 Diag(SourceLocation(), diag::err_pp_through_header_not_found)
598 SourceMgr.createFileID(*File, SourceLocation(), SrcMgr::C_User));
662 Diag(SourceLocation(), diag::err_pp_through_header_not_seen)
665 Diag(SourceLocation(), diag::err_pp_pragma_hdrstop_not_seen);
723 // from the cleaned identifier token. The SourceLocation should be updated to
727 // still 3 and the SourceLocation refers to the location of the backslash.
1017 SourceLocation Start = FilenameTok.getLocation();
1018 SourceLocation End;
1200 SourceLocation SemiLoc = Suffix.back().getLocation();
1213 /*HashLoc*/ SourceLocation(), ImportTok, Suffix.front(), SemiLoc);
1282 SourceLocation SemiLoc = Result.getLocation();
1306 SourceLocation FirstPathLoc = NamedModuleImportPath[0].second;
1333 void Preprocessor::makeModuleVisible(Module *M, SourceLocation Loc) {
1487 const SourceLocation &Loc) const {
1491 const SourceLocation &Loc) -> bool {
1495 &Loc](const std::pair<SourceLocation, SourceLocation> &Region) {
1541 bool isEnter, const SourceLocation &Loc) {
1580 bool Preprocessor::isPPInSafeBufferOptOutRegion(SourceLocation &StartLoc) {
1585 SmallVector<SourceLocation, 64>
1591 SmallVector<SourceLocation, 64> SrcSeq;
1606 const SmallVectorImpl<SourceLocation> &SourceLocations) {
1611 "ill-formed SourceLocation sequence");
1618 SourceLocation Begin = *It++;
1619 SourceLocation End = *It++;