Home
last modified time | relevance | path

Searched refs:FirstLoc (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DTokenLexer.cpp994 SourceLocation FirstLoc = begin_tokens->getLocation(); in updateConsecutiveMacroArgTokens() local
995 SourceLocation CurLoc = FirstLoc; in updateConsecutiveMacroArgTokens()
1031 SM.isInSameSLocAddrSpace(FirstLoc, LastConsecutiveTok.getLocation(), in updateConsecutiveMacroArgTokens()
1037 SM.createMacroArgExpansionLoc(FirstLoc, InstLoc,FullLength); in updateConsecutiveMacroArgTokens()
1044 SM.isInSameSLocAddrSpace(FirstLoc, Tok.getLocation(), &RelOffs); in updateConsecutiveMacroArgTokens()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
H A DTokens.cpp69 auto FirstLoc = First.location(), LastLoc = Last.location(); in findCommonRangeForMacroArgs() local
72 while (!FirstLoc.isFileID() && !LastLoc.isFileID()) { in findCommonRangeForMacroArgs()
73 auto ExpInfoFirst = SM.getSLocEntry(SM.getFileID(FirstLoc)).getExpansion(); in findCommonRangeForMacroArgs()
83 FirstLoc = SM.getImmediateSpellingLoc(FirstLoc); in findCommonRangeForMacroArgs()
87 Res = {FirstLoc, LastLoc}; in findCommonRangeForMacroArgs()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/
H A DModuleFile.h217 SourceLocation FirstLoc; variable
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DDeclSpec.cpp1136 SourceLocation FirstLoc; in Finish() local
1139 if (FirstLoc.isInvalid() || in Finish()
1141 FirstLoc)) in Finish()
1142 FirstLoc = ExtraLocs[I]; in Finish()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp248 SMLoc FirstLoc = getLexer().getLoc(); in ParseSectionName() local
275 SectionName = StringRef(FirstLoc.getPointer(), Size); in ParseSectionName()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp1705 SourceLocation FirstLoc = start->getBeginLoc(); in removePunyEdges() local
1708 if (!SM.isWrittenInSameFile(FirstLoc, SecondLoc)) in removePunyEdges()
1710 if (SM.isBeforeInTranslationUnit(SecondLoc, FirstLoc)) in removePunyEdges()
1711 std::swap(SecondLoc, FirstLoc); in removePunyEdges()
1713 SourceRange EdgeRange(FirstLoc, SecondLoc); in removePunyEdges()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp2346 unsigned FirstLoc = ~0U; in RescheduleOps() local
2381 if (Loc <= FirstLoc) { in RescheduleOps()
2382 FirstLoc = Loc; in RescheduleOps()
2403 bool DoMove = (LastLoc - FirstLoc) <= NumMove*4; // FIXME: Tune this. in RescheduleOps()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp541 bool FirstLoc = true; in maybeRecordLocation() local
545 if (!FirstLoc) in maybeRecordLocation()
547 FirstLoc = false; in maybeRecordLocation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp1627 return F->ImportedBy[0]->FirstLoc; in getImportLocation()
3420 F.FirstLoc = SourceLocation::getFromRawEncoding(F.SLocEntryBaseOffset); in ReadASTBlock()
9956 SourceLocation FirstLoc; in diagnoseOdrViolations() local
9960 FirstLoc = FirstTag->getBraceRange().getEnd(); in diagnoseOdrViolations()
9962 FirstLoc = DR.FirstDecl->getLocation(); in diagnoseOdrViolations()
9965 Diag(FirstLoc, diag::err_module_odr_violation_mismatch_decl) in diagnoseOdrViolations()
10366 SourceLocation FirstLoc, SecondLoc; in diagnoseOdrViolations() local
10369 FirstLoc = FirstStr->getBeginLoc(); in diagnoseOdrViolations()
10372 FirstLoc = FirstSA->getBeginLoc(); in diagnoseOdrViolations()
10382 ODRDiagDeclError(FirstRecord, FirstModule, FirstLoc, FirstRange, in diagnoseOdrViolations()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseExprCXX.cpp47 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation()); in areTokensAdjacent() local
48 SourceLocation FirstEnd = FirstLoc.getLocWithOffset(First.getLength()); in areTokensAdjacent()