/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | TextDiagnostics.cpp | 104 for (const auto &Piece : PD->path) { 105 if (!isa<PathDiagnosticNotePiece>(Piece.get())) 108 reportPiece(NoteID, Piece->getLocation().asLocation(), 109 Piece->getString(), Piece->getRanges(), 110 Piece->getFixits()); 118 for (const auto &Piece : FlatPath) { 119 if (isa<PathDiagnosticNotePiece>(Piece.get())) 122 reportPiece(NoteID, Piece->getLocation().asLocation(), 123 Piece [all...] |
H A D | SarifDiagnostics.cpp | 239 static Importance calculateImportance(const PathDiagnosticPiece &Piece) { argument 240 switch (Piece.getKind()) { 248 return Piece.getTagStr() == "ConditionBRVisitor" ? Importance::Important 261 for (const auto &Piece : Pieces) { 262 const PathDiagnosticLocation &P = Piece->getLocation(); 268 Piece->getString()), 269 calculateImportance(*Piece)));
|
H A D | HTMLDiagnostics.cpp | 508 for (const auto &Piece : path) { 509 if (const auto *P = dyn_cast<PathDiagnosticNotePiece>(Piece.get())) { 655 const PathDiagnosticPopUpPiece &Piece, 662 SourceRange Range(Piece.getLocation().asRange()); 673 Out << "</div></td><td>" << Piece.getString() << "</td></tr>"; 715 const auto &Piece = *I->get(); local 717 if (isa<PathDiagnosticPopUpPiece>(Piece)) { 719 } else if (isa<PathDiagnosticNotePiece>(Piece)) { 723 HandlePiece(R, FID, Piece, PopUpRanges, NumNotePieces, TotalNotePieces); 726 HandlePiece(R, FID, Piece, PopUpRange 654 HandlePopUpPieceEndTag(Rewriter &R, const PathDiagnosticPopUpPiece &Piece, std::vector<SourceRange> &PopUpRanges, unsigned int LastReportedPieceIndex, unsigned int PopUpPieceIndex) argument 736 const auto &Piece = *I->get(); local [all...] |
H A D | PlistDiagnostics.cpp | 621 auto AddPieceFID = [&FM, &Fids, &SM](const PathDiagnosticPiece &Piece) { 622 AddFID(FM, Fids, SM, Piece.getLocation().asLocation()); 623 ArrayRef<SourceRange> Ranges = Piece.getRanges(); 639 const PathDiagnosticPiece &Piece = *Iter; local 640 AddPieceFID(Piece); 643 dyn_cast<PathDiagnosticCallPiece>(&Piece)) { 652 dyn_cast<PathDiagnosticMacroPiece>(&Piece)) {
|
H A D | BugReporter.cpp | 476 auto Piece = std::move(Path.front()); local 478 if (!isa<PathDiagnosticPopUpPiece>(*Piece)) 479 Path.push_back(std::move(Piece)); 1418 auto *Piece = dyn_cast<PathDiagnosticControlFlowPiece>(I->get()); local 1420 if (!Piece) 1423 PathDiagnosticLocation SrcLoc = Piece->getStartLocation(); 1439 const Stmt *Dst = Piece->getEndLocation().getStmtOrNull(); 1453 Piece->setStartLocation(DstContext); 1478 Piece = P.get(); 2773 if (auto Piece 3070 PathDiagnosticNotePiece *Piece = I->get(); local [all...] |
H A D | BugReporterVisitors.cpp | 2665 const PathDiagnosticPiece *Piece) { 2666 return Piece->getString() == GenericTrueMessage || 2667 Piece->getString() == GenericFalseMessage; 2910 auto Piece = std::make_shared<PathDiagnosticEventPiece>(Loc, *Msg); local 2911 Piece->setPrunable(T->isPrunable()); 2912 return Piece; 2664 isPieceMessageGeneric( const PathDiagnosticPiece *Piece) argument
|
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangDiagnosticsEmitter.cpp | 507 struct Piece { struct in namespace:__anon2438 509 Piece(PieceKind Kind) : ClassKind(Kind) {} function in struct:__anon2438::Piece 510 Piece(Piece const &O) = delete; 511 Piece &operator=(Piece const &) = delete; 512 virtual ~Piece() {} 515 static bool classof(const Piece *) { return true; } 521 struct MultiPiece : Piece { 522 MultiPiece() : Piece(MultiPieceClas [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Bitstream/ |
H A D | BitstreamReader.h | 237 uint32_t Piece = MaybeRead.get(); 239 if ((Piece & (1U << (NumBits-1))) == 0) 240 return Piece; 245 Result |= (Piece & ((1U << (NumBits-1))-1)) << NextBit; 247 if ((Piece & (1U << (NumBits-1))) == 0) 254 Piece = MaybeRead.get(); 264 uint32_t Piece = MaybeRead.get(); 266 if ((Piece & (1U << (NumBits-1))) == 0) 267 return uint64_t(Piece); 272 Result |= uint64_t(Piece [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmtAsm.cpp | 116 const GCCAsmStmt::AsmStringPiece &Piece = AsmStrPieces[p]; local 117 if (!Piece.isOperand()) 122 if (Piece.getOperandNo() == OpNo) 490 GCCAsmStmt::AsmStringPiece &Piece = Pieces[i]; local 491 if (!Piece.isOperand()) continue; 494 unsigned ConstraintIdx = Piece.getOperandNo(); 523 Literal->getString(), Piece.getModifier(), Size, 529 auto B = targetDiag(Piece.getRange().getBegin(), 532 SuggestedModifier = "%" + SuggestedModifier + Piece.getString(); 533 B << FixItHint::CreateReplacement(Piece [all...] |
H A D | SemaModule.cpp | 162 for (auto &Piece : Path) { 165 ModuleName += Piece.first->getName(); 315 for (auto &Piece : Path) { 318 ModuleName += Piece.first->getName();
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | BugReporter.h | 512 void addCallStackHint(PathDiagnosticPieceRef Piece, argument 514 StackHints[Piece] = std::move(StackHint); 517 bool hasCallStackHint(PathDiagnosticPieceRef Piece) const { 518 return StackHints.count(Piece) > 0; 524 getCallStackMessage(PathDiagnosticPieceRef Piece, argument 526 auto I = StackHints.find(Piece);
|
H A D | BugReporterVisitors.h | 291 static bool isPieceMessageGeneric(const PathDiagnosticPiece *Piece);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Stmt.cpp | 719 for (const auto &Piece : Pieces) { 720 if (Piece.isString()) 721 AsmString += Piece.getString(); 722 else if (Piece.getModifier() == '\0') 723 AsmString += '$' + llvm::utostr(Piece.getOperandNo()); 725 AsmString += "${" + llvm::utostr(Piece.getOperandNo()) + ':' + 726 Piece.getModifier() + '}';
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | PathDiagnostic.cpp | 84 for (auto &Piece : *this) { 85 switch (Piece->getKind()) { 87 auto &Call = cast<PathDiagnosticCallPiece>(*Piece); 96 auto &Macro = cast<PathDiagnosticMacroPiece>(*Piece); 100 Current.push_back(Piece); 112 Current.push_back(Piece);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | LocalizationChecker.cpp | 1027 auto Piece = std::make_shared<PathDiagnosticEventPiece>( 1029 Piece->addRange(LiteralExpr->getSourceRange()); 1031 return std::move(Piece);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.cpp | 1037 for (const auto &Piece : cast<MDNode>(Option)->operands()) 1038 StrOptions.push_back(std::string(cast<MDString>(Piece)->getString())); 1600 for (const auto &Piece : cast<MDNode>(Option)->operands()) { 1603 Directive.append(std::string(cast<MDString>(Piece)->getString()));
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | Preprocessor.cpp | 1278 for (auto &Piece : ModuleImportPath) { 1281 FlatModuleName += Piece.first->getName();
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 2108 Constant *Piece = ConstantExpr::getLShr(C, ConstantInt::get(C->getType(), local 2110 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); 2111 if (!collectInsertionElements(Piece, ShiftI, Elements, VecEltTy,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | [all...] |