| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 65 if (SM.isInSystemHeader(Range.getBegin()) || in validateRange() 66 SM.isInSystemHeader(Range.getEnd())) in validateRange() 92 const auto &Expansion = SM.getSLocEntry(SM.getFileID(Loc)).getExpansion(); in spelledInMacroDefinition() 105 const SourceManager &SM, in getRange() argument 116 auto B = SM.getSpellingLoc(EditRange.getBegin()); in getRange() 117 auto E = SM.getSpellingLoc(EditRange.getEnd()); in getRange() 246 if (startsWithNewline(SM, Tok)) in getEntityEndLoc() 264 if (startsWithNewline(SM, Tok)) in getEntityEndLoc() 314 const char *LocChars = SM.getCharacterData(Loc); in skipWhitespaceAndNewline() 400 SM, skipWhitespaceAndNewline(SM, Comment->getEndLoc(), LangOpts), in getAssociatedRange() [all …]
|
| /freebsd-14.2/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_aic.c | 528 SM(37, AR_PHY_AIC_F_WLAN) | in ar9300_aic_calibration() 532 SM(0, AR_PHY_AIC_ENABLE))); in ar9300_aic_calibration() 539 SM(0, AR_PHY_AIC_ENABLE))); in ar9300_aic_calibration() 549 SM(15, AR_PHY_AIC_RSSI_MAX) | in ar9300_aic_calibration() 550 SM(0, AR_PHY_AIC_RSSI_MIN))); in ar9300_aic_calibration() 555 SM(15, AR_PHY_AIC_RSSI_MAX) | in ar9300_aic_calibration() 556 SM(0, AR_PHY_AIC_RSSI_MIN))); in ar9300_aic_calibration() 707 SM(15, AR_PHY_AIC_RSSI_MAX) | in ar9300_aic_start_normal() 708 SM(0, AR_PHY_AIC_RSSI_MIN))); in ar9300_aic_start_normal() 711 (SM(15, AR_PHY_AIC_RSSI_MAX) | in ar9300_aic_start_normal() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | DiagnosticRenderer.cpp | 61 edit::Commit commit(SM, LangOpts); in mergeFixits() 79 edit::EditedSource Editor(SM, LangOpts); in mergeFixits() 273 if (SM->isMacroArgExpansion(Loc)) { in retrieveMacroLocation() 319 if (SM->isMacroArgExpansion(Loc)) { in getMacroArgExpansionFileIDs() 320 IDs.push_back(SM->getFileID(Loc)); in getMacroArgExpansionFileIDs() 379 BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges() 388 EndFileID = SM->getFileID(End); in mapDiagnosticRanges() 415 Begin = SM->getSpellingLoc(Begin); in mapDiagnosticRanges() 416 End = SM->getSpellingLoc(End); in mapDiagnosticRanges() 543 if (SM.isMacroArgExpansion(L)) in emitMacroExpansions() [all …]
|
| H A D | SARIFDiagnostic.cpp | 88 auto &SM = Loc.getManager(); in addLocationToResult() local 89 SourceLocation B = SM.getExpansionLoc(Range.getBegin()); in addLocationToResult() 90 CharSourceRange ERange = SM.getExpansionRange(Range.getEnd()); in addLocationToResult() 94 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(B); in addLocationToResult() 95 std::pair<FileID, unsigned> EInfo = SM.getDecomposedLoc(E); in addLocationToResult() 106 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); in addLocationToResult() 108 FullSourceLoc BF(B, SM), EF(E, SM); in addLocationToResult() 109 SourceLocation BeginLoc = SM.translateLineCol( in addLocationToResult() 111 SourceLocation EndLoc = SM.translateLineCol( in addLocationToResult() 120 auto &SM = Loc.getManager(); in addLocationToResult() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | MacroExpansionContext.cpp | 22 SourceManager &SM; member in clang::detail::MacroExpansionRangeRecorder 27 const Preprocessor &PP, SourceManager &SM, in MacroExpansionRangeRecorder() argument 29 : PP(PP), SM(SM), ExpansionRanges(ExpansionRanges) {} in MacroExpansionRangeRecorder() 40 const SourceLocation ExpansionEnd = [Range, &SM = SM, &MacroName] { in MacroExpands() 43 return SM.getExpansionLoc( in MacroExpands() 55 MacroNameBegin.print(llvm::dbgs(), SM); in MacroExpands() 91 SM = &NewPP.getSourceManager(); in registerForPreprocessor() 95 *PP, *SM, ExpansionRanges)); in registerForPreprocessor() 153 Record.first.print(OS, *SM); in dumpExpansionRangesToStream() 155 Record.second.print(OS, *SM); in dumpExpansionRangesToStream() [all …]
|
| H A D | CFGStmtMap.cpp | 28 SMap *SM = AsMap(M); in getBlock() local 34 SMap::iterator I = SM->find(X); in getBlock() 35 if (I != SM->end()) { in getBlock() 39 (*SM)[X] = B; in getBlock() 49 static void Accumulate(SMap &SM, CFGBlock *B) { in Accumulate() argument 57 CFGBlock *&Entry = SM[CS->getStmt()]; in Accumulate() 69 SM[Label] = B; in Accumulate() 75 SM[Term] = B; in Accumulate() 82 SMap *SM = new SMap(); in Build() local 87 Accumulate(*SM, *I); in Build() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceLocation.cpp | 35 Loc.print(OS, SM); in print() 81 SM.getExpansionLoc(*this).print(OS, SM); in print() 84 SM.getSpellingLoc(*this).print(OS, SM); in print() 92 print(OS, SM); in printToString() 97 print(llvm::errs(), SM); in dump() 102 print(llvm::errs(), SM); in dump() 110 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in PrintDifference() 128 auto PrintedLoc = PrintDifference(OS, SM, SM.getExpansionLoc(Loc), Previous); in PrintDifference() 131 PrintedLoc = PrintDifference(OS, SM, SM.getSpellingLoc(Loc), PrintedLoc); in PrintDifference() 142 PrintDifference(OS, SM, E, PrintedLoc); in print() [all …]
|
| H A D | Cuda.cpp | 82 #define SM(sm) SM2(sm, "compute_" #sm) macro 89 SM(30), SM(32), SM(35), SM(37), // Kepler 90 SM(50), SM(52), SM(53), // Maxwell 91 SM(60), SM(61), SM(62), // Pascal 92 SM(70), SM(72), // Volta 93 SM(75), // Turing 94 SM(80), SM(86), // Ampere 96 SM(89), // Ada Lovelace 97 SM(90), // Hopper 98 SM(90a), // Hopper [all …]
|
| H A D | XRayLists.cpp | 23 ArrayRef<std::string> AttrListPaths, SourceManager &SM) in XRayFunctionFilter() argument 25 AlwaysInstrumentPaths, SM.getFileManager().getVirtualFileSystem())), in XRayFunctionFilter() 27 NeverInstrumentPaths, SM.getFileManager().getVirtualFileSystem())), in XRayFunctionFilter() 29 AttrListPaths, SM.getFileManager().getVirtualFileSystem())), in XRayFunctionFilter() 30 SM(SM) {} in XRayFunctionFilter() 75 return this->shouldImbueFunctionsInFile(SM.getFilename(SM.getFileLoc(Loc)), in shouldImbueLocation()
|
| /freebsd-14.2/sys/dev/ath/ath_hal/ar9002/ |
| H A D | ar9285_diversity.c | 91 regVal |= SM(ant_div_control1, AR_PHY_9285_ANT_DIV_CTL); in ar9285SetAntennaSwitch() 96 regVal |= SM(ant_div_control2, AR_PHY_9285_ANT_DIV_ALT_LNACONF); in ar9285SetAntennaSwitch() 97 regVal |= SM((ant_div_control2 >> 2), AR_PHY_9285_ANT_DIV_MAIN_LNACONF); in ar9285SetAntennaSwitch() 98 regVal |= SM((ant_div_control1 >> 1), AR_PHY_9285_ANT_DIV_ALT_GAINTB); in ar9285SetAntennaSwitch() 99 regVal |= SM((ant_div_control1 >> 2), AR_PHY_9285_ANT_DIV_MAIN_GAINTB); in ar9285SetAntennaSwitch() 105 regVal |= SM(HAL_ANT_DIV_COMB_LNA2, AR_PHY_9285_ANT_DIV_ALT_LNACONF); in ar9285SetAntennaSwitch() 106 regVal |= SM(HAL_ANT_DIV_COMB_LNA1, AR_PHY_9285_ANT_DIV_MAIN_LNACONF); in ar9285SetAntennaSwitch() 107 regVal |= SM(AR_PHY_9285_ANT_DIV_GAINTB_0, AR_PHY_9285_ANT_DIV_ALT_GAINTB); in ar9285SetAntennaSwitch() 114 regVal |= SM(HAL_ANT_DIV_COMB_LNA1, AR_PHY_9285_ANT_DIV_ALT_LNACONF); in ar9285SetAntennaSwitch() 115 regVal |= SM(HAL_ANT_DIV_COMB_LNA2, AR_PHY_9285_ANT_DIV_MAIN_LNACONF); in ar9285SetAntennaSwitch() [all …]
|
| /freebsd-14.2/sys/dev/ath/ath_hal/ar5416/ |
| H A D | ar5416_xmit.c | 387 ads->ds_ctl9 = SM(0, AR_AntCtl1) | SM(txPower, AR_XmitPower1); in ar5416SetupTxDesc() 388 ads->ds_ctl10 = SM(0, AR_AntCtl2) | SM(txPower, AR_XmitPower2); in ar5416SetupTxDesc() 389 ads->ds_ctl11 = SM(0, AR_AntCtl3) | SM(txPower, AR_XmitPower3); in ar5416SetupTxDesc() 420 ads->ds_ctl9 = SM(0, AR_AntCtl1) | SM(0, AR_XmitPower1); in ar5416SetupTxDesc() 421 ads->ds_ctl10 = SM(0, AR_AntCtl2) | SM(0, AR_XmitPower2); in ar5416SetupTxDesc() 422 ads->ds_ctl11 = SM(0, AR_AntCtl3) | SM(0, AR_XmitPower3); in ar5416SetupTxDesc() 649 ads->ds_ctl9 = SM(0, AR_AntCtl1) | SM(txPower, AR_XmitPower1); in ar5416SetupFirstTxDesc() 650 ads->ds_ctl10 = SM(0, AR_AntCtl2) | SM(txPower, AR_XmitPower2); in ar5416SetupFirstTxDesc() 669 ads->ds_ctl9 = SM(0, AR_AntCtl1) | SM(0, AR_XmitPower1); in ar5416SetupFirstTxDesc() 670 ads->ds_ctl10 = SM(0, AR_AntCtl2) | SM(0, AR_XmitPower2); in ar5416SetupFirstTxDesc() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteMacros.cpp | 63 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile() local 67 llvm::MemoryBufferRef FromFile = SM.getBufferOrFake(SM.getMainFileID()); in LexRawTokensFromMainFile() 68 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile() 90 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput() local 93 Rewrite.setSourceMgr(SM, PP.getLangOpts()); in RewriteMacrosInInput() 117 if (!SM.isWrittenInMainFile(PPLoc)) { in RewriteMacrosInInput() 153 unsigned PPOffs = SM.getFileOffset(PPLoc); in RewriteMacrosInInput() 176 RawOffs = SM.getFileOffset(RawTok.getLocation()); in RewriteMacrosInInput() 199 PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput() 200 PPOffs = SM.getFileOffset(PPLoc); in RewriteMacrosInInput() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/FileCheck/ |
| H A D | FileCheck.cpp | 333 const SourceMgr &SM) { in parseNumericVariableDefinition() argument 396 SM, Name, in parseNumericVariableUse() 451 SM, SaveExpr, in parseNumericOperand() 472 Context, SM); in parseParenExpr() 568 Context, SM); in parseCallExpr() 630 SM, FormatExpr, in parseNumericSubstitutionBlock() 680 SM, FormatExpr, in parseNumericSubstitutionBlock() 718 SM, Expr, in parseNumericSubstitutionBlock() 781 SM.PrintMessage( in parsePattern() 1907 SM.PrintMessage( in readCheckFile() [all …]
|
| H A D | FileCheckImpl.h | 146 getImplicitFormat(const SourceMgr &SM) const { in getImplicitFormat() argument 293 getImplicitFormat(const SourceMgr &SM) const override { in getImplicitFormat() argument 333 getImplicitFormat(const SourceMgr &SM) const override; 457 SourceMgr &SM); 517 return get(SM, Start, ErrMsg, SMRange(Start, End)); in get() 675 FileCheckPatternContext *Context, const SourceMgr &SM); 713 void printFuzzyMatch(const SourceMgr &SM, StringRef Buffer, 749 const SourceMgr &SM); 786 const SourceMgr &SM); 857 bool CheckNot(const SourceMgr &SM, StringRef Buffer, [all …]
|
| /freebsd-14.2/sys/dev/rtwn/rtl8812a/ |
| H A D | r12a_tx.c | 80 txd->txdw5 |= htole32(SM(R12A_TXDW5_DATA_BW, in r12a_tx_set_ht40() 195 txd->txdw1 |= htole32(SM(R12A_TXDW1_RAID, raid)); in r12a_tx_raid() 263 txd->txdw4 |= htole32(SM(R12A_TXDW4_RETRY_LMT, in r12a_fill_tx_desc() 275 txd->txdw2 |= htole32(SM(R12A_TXDW2_AMPDU_DEN, in r12a_fill_tx_desc() 277 txd->txdw3 |= htole32(SM(R12A_TXDW3_MAX_AGG, in r12a_fill_tx_desc() 372 txd->txdw4 |= htole32(SM(R12A_TXDW4_RETRY_LMT, in r12a_fill_tx_desc_raw() 396 txd->txdw9 |= htole32(SM(R12A_TXDW9_SEQ, in r12a_fill_tx_desc_raw() 409 SM(R12A_TXDW1_QSEL, R12A_TXDW1_QSEL_MGNT)); in r12a_fill_tx_desc_null() 412 txd->txdw6 = htole32(SM(R21A_TXDW6_MBSSID, id)); in r12a_fill_tx_desc_null() 414 txd->txdw4 = htole32(SM(R12A_TXDW4_DATARATE, in r12a_fill_tx_desc_null() [all …]
|
| H A D | r12a_chan.c | 70 SM(R12A_TXAGC_CCK1, power[RTWN_RIDX_CCK1]) | in r12a_write_txpower() 71 SM(R12A_TXAGC_CCK2, power[RTWN_RIDX_CCK2]) | in r12a_write_txpower() 72 SM(R12A_TXAGC_CCK55, power[RTWN_RIDX_CCK55]) | in r12a_write_txpower() 73 SM(R12A_TXAGC_CCK11, power[RTWN_RIDX_CCK11])); in r12a_write_txpower() 78 SM(R12A_TXAGC_OFDM06, power[RTWN_RIDX_OFDM6]) | in r12a_write_txpower() 79 SM(R12A_TXAGC_OFDM09, power[RTWN_RIDX_OFDM9]) | in r12a_write_txpower() 80 SM(R12A_TXAGC_OFDM12, power[RTWN_RIDX_OFDM12]) | in r12a_write_txpower() 81 SM(R12A_TXAGC_OFDM18, power[RTWN_RIDX_OFDM18])); in r12a_write_txpower() 83 SM(R12A_TXAGC_OFDM24, power[RTWN_RIDX_OFDM24]) | in r12a_write_txpower() 84 SM(R12A_TXAGC_OFDM36, power[RTWN_RIDX_OFDM36]) | in r12a_write_txpower() [all …]
|
| H A D | r12a_beacon.c | 71 txd->txdw1 = htole32(SM(R12A_TXDW1_QSEL, R12A_TXDW1_QSEL_BEACON)); in r12a_beacon_init() 72 txd->txdw1 |= htole32(SM(R12A_TXDW1_MACID, RTWN_MACID_BC)); in r12a_beacon_init() 75 txd->txdw3 |= htole32(SM(R12A_TXDW3_SEQ_SEL, id)); in r12a_beacon_init() 77 txd->txdw4 = htole32(SM(R12A_TXDW4_DATARATE, RTWN_RIDX_CCK1)); in r12a_beacon_init() 79 txd->txdw6 = htole32(SM(R21A_TXDW6_MBSSID, id)); in r12a_beacon_init() 89 txd->txdw4 = htole32(SM(R12A_TXDW4_DATARATE, in r12a_beacon_set_rate() 92 txd->txdw4 = htole32(SM(R12A_TXDW4_DATARATE, RTWN_RIDX_CCK1)); in r12a_beacon_set_rate()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | PlistSupport.h | 39 const SourceManager &SM, SourceLocation L) { in AddFID() argument 40 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID() 50 inline unsigned GetFID(const FIDMap &FIDs, const SourceManager &SM, in GetFID() argument 52 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID() 106 inline void EmitLocation(raw_ostream &o, const SourceManager &SM, in EmitLocation() argument 110 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation() 118 EmitInteger(o, GetFID(FM, SM, Loc)) << '\n'; in EmitLocation() 122 inline void EmitRange(raw_ostream &o, const SourceManager &SM, in EmitRange() argument 128 EmitLocation(o, SM, R.getBegin(), FM, indent + 1); in EmitRange() 133 EmitLocation(o, SM, R.getEnd().getLocWithOffset(-1), FM, indent + 1); in EmitRange()
|
| /freebsd-14.2/sys/dev/rtwn/rtl8192c/ |
| H A D | r92c_chan.c | 183 SM(R92C_TXAGC_RATE06, power[RTWN_RIDX_OFDM6]) | in r92c_write_txpower() 184 SM(R92C_TXAGC_RATE09, power[RTWN_RIDX_OFDM9]) | in r92c_write_txpower() 185 SM(R92C_TXAGC_RATE12, power[RTWN_RIDX_OFDM12]) | in r92c_write_txpower() 186 SM(R92C_TXAGC_RATE18, power[RTWN_RIDX_OFDM18])); in r92c_write_txpower() 188 SM(R92C_TXAGC_RATE24, power[RTWN_RIDX_OFDM24]) | in r92c_write_txpower() 189 SM(R92C_TXAGC_RATE36, power[RTWN_RIDX_OFDM36]) | in r92c_write_txpower() 190 SM(R92C_TXAGC_RATE48, power[RTWN_RIDX_OFDM48]) | in r92c_write_txpower() 191 SM(R92C_TXAGC_RATE54, power[RTWN_RIDX_OFDM54])); in r92c_write_txpower() 194 SM(R92C_TXAGC_MCS00, power[RTWN_RIDX_HT_MCS(0)]) | in r92c_write_txpower() 195 SM(R92C_TXAGC_MCS01, power[RTWN_RIDX_HT_MCS(1)]) | in r92c_write_txpower() [all …]
|
| H A D | r92c_tx.c | 166 txd->txdw1 |= htole32(SM(R92C_TXDW1_RAID, raid)); in r92c_tx_raid() 210 txd->txdw1 |= htole32(SM(R92C_TXDW1_MACID, id)); in r92c_tx_setup_macid() 260 txd->txdw5 |= htole32(SM(R92C_TXDW5_RTY_LMT, in r92c_fill_tx_desc() 273 txd->txdw2 |= htole32(SM(R92C_TXDW2_AMPDU_DEN, in r92c_fill_tx_desc() 275 txd->txdw6 |= htole32(SM(R92C_TXDW6_MAX_AGG, in r92c_fill_tx_desc() 315 txd->txdw1 |= htole32(SM(R92C_TXDW1_QSEL, qsel)); in r92c_fill_tx_desc() 371 txd->txdw5 |= htole32(SM(R92C_TXDW5_RTY_LMT, in r92c_fill_tx_desc_raw() 407 SM(R92C_TXDW1_QSEL, R92C_TXDW1_QSEL_MGNT)); in r92c_fill_tx_desc_null() 410 txd->txdw4 |= htole32(SM(R92C_TXDW4_PORT_ID, id)); in r92c_fill_tx_desc_null() 412 txd->txdw5 = htole32(SM(R92C_TXDW5_DATARATE, in r92c_fill_tx_desc_null() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MCA/ |
| H A D | Support.cpp | 40 void computeProcResourceMasks(const MCSchedModel &SM, in computeProcResourceMasks() argument 44 assert(Masks.size() == SM.getNumProcResourceKinds() && in computeProcResourceMasks() 50 for (unsigned I = 1, E = SM.getNumProcResourceKinds(); I < E; ++I) { in computeProcResourceMasks() 51 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks() 59 for (unsigned I = 1, E = SM.getNumProcResourceKinds(); I < E; ++I) { in computeProcResourceMasks() 60 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks() 74 for (unsigned I = 0, E = SM.getNumProcResourceKinds(); I < E; ++I) { in computeProcResourceMasks() 75 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks() 83 double computeBlockRThroughput(const MCSchedModel &SM, unsigned DispatchWidth, in computeBlockRThroughput() argument 94 for (unsigned I = 0, E = SM.getNumProcResourceKinds(); I < E; ++I) { in computeBlockRThroughput() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | Tokens.cpp | 127 auto Dec = SM.getDecomposedLoc(SM.getExpansionRange(Prev).getBegin()); in spelledForExpandedSlow() 132 auto Dec = SM.getDecomposedLoc(SM.getExpansionRange(Next).getEnd()); in spelledForExpandedSlow() 172 auto F = First.range(SM); in range() 173 auto L = Last.range(SM); in range() 204 assert(SM.getFileID(BeginLoc) == SM.getFileID(EndLoc)); in FileRange() 205 assert(SM.getFileOffset(BeginLoc) <= SM.getFileOffset(EndLoc)); in FileRange() 266 SourceRange(SM.getComposedLoc(File, Begin), SM.getComposedLoc(File, End)), in toCharRange() 609 return tokenize(syntax::FileRange(FID, 0, SM.getFileIDSize(FID)), SM, LO); in tokenize() 709 : Result(SM), CollectedExpansions(std::move(CollectedExpansions)), SM(SM), in Builder() 871 auto FID = SM.getFileID(SM.getExpansionLoc(Tok.location())); in buildSpelledTokens() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | Lexer.h | 181 const SourceManager &SM, const LangOptions &LangOpts, 363 const SourceManager &SM, 372 const SourceManager &SM, 378 const SourceManager &SM, 393 const SourceManager &SM, 431 const SourceManager &SM, in getAsCharRange() argument 439 const SourceManager &SM, in getAsCharRange() argument 442 ? getAsCharRange(Range.getAsRange(), SM, LangOpts) in getAsCharRange() 452 const SourceManager &SM, 462 const SourceManager &SM, [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 22 bool isSemicolonAtLocation(SourceLocation TokenLoc, const SourceManager &SM, in isSemicolonAtLocation() argument 25 CharSourceRange::getTokenRange(TokenLoc, TokenLoc), SM, in isSemicolonAtLocation() 62 const SourceManager &SM) { in areOnSameLine() argument 64 SM.getSpellingLineNumber(Loc1) == SM.getSpellingLineNumber(Loc2); in areOnSameLine() 74 const SourceManager &SM, in compute() argument 99 if (isSemicolonAtLocation(End, SM, LangOpts)) in compute() 104 std::optional<Token> NextToken = Lexer::findNextToken(End, SM, LangOpts); in compute() 106 areOnSameLine(NextToken->getLocation(), End, SM)) { in compute()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | PlistDiagnostics.cpp | 192 EmitRange(o, SM, in EmitRanges() 193 Lexer::getAsCharRange(SM.getExpansionRange(R), SM, LangOpts), in EmitRanges() 231 EmitRange(o, SM, Lexer::getAsCharRange(fixit.RemoveRange, SM, LangOpts), in EmitFixits() 269 EmitRange(o, SM, Lexer::getAsCharRange(StartEdge, SM, LangOpts), FM, in ReportControlFlow() 274 EmitRange(o, SM, Lexer::getAsCharRange(EndEdge, SM, LangOpts), FM, in ReportControlFlow() 317 EmitLocation(o, SM, L, FM, indent); in ReportEvent() 434 EmitLocation(o, SM, L, FM, indent); in ReportNote() 704 SM); in FlushDiagnosticsImpl() 751 SM.getExpansionLoc( in FlushDiagnosticsImpl() 753 SM); in FlushDiagnosticsImpl() [all …]
|