HomeSort by: relevance | last modified time | path
    Searched defs:Piece (Results 1 - 7 of 7) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
PlistDiagnostics.cpp 102 /// is found through a call piece, etc), it's subpieces are reported, and the
103 /// piece itself is collected. Call this function after the entire bugpath
623 auto AddPieceFID = [&FM, &Fids, &SM](const PathDiagnosticPiece &Piece) {
624 AddFID(FM, Fids, SM, Piece.getLocation().asLocation());
625 ArrayRef<SourceRange> Ranges = Piece.getRanges();
641 const PathDiagnosticPiece &Piece = *Iter;
642 AddPieceFID(Piece);
645 dyn_cast<PathDiagnosticCallPiece>(&Piece)) {
654 dyn_cast<PathDiagnosticMacroPiece>(&Piece)) {
HTMLDiagnostics.cpp 530 for (const auto &Piece : path) {
531 if (const auto *P = dyn_cast<PathDiagnosticNotePiece>(Piece.get())) {
677 const PathDiagnosticPopUpPiece &Piece,
684 SourceRange Range(Piece.getLocation().asRange());
695 Out << "</div></td><td>" << Piece.getString() << "</td></tr>";
731 // Stores the count of the regular piece indices.
737 const auto &Piece = *I->get();
739 if (isa<PathDiagnosticPopUpPiece>(Piece)) {
741 } else if (isa<PathDiagnosticNotePiece>(Piece)) {
744 // as a separate pass through the piece list
    [all...]
BugReporterVisitors.cpp 430 /// \return Diagnostics piece for region not modified in the current function,
2269 auto piece = VisitNodeImpl(N, BRC, BR); local
2270 if (piece) {
2271 piece->setTag(getTag());
2272 if (auto *ev = dyn_cast<PathDiagnosticEventPiece>(piece.get()))
2275 return piece;
2793 const PathDiagnosticPiece *Piece) {
2794 return Piece->getString() == GenericTrueMessage ||
2795 Piece->getString() == GenericFalseMessage;
3037 auto Piece = std::make_shared<PathDiagnosticEventPiece>(Loc, *Msg)
    [all...]
BugReporter.cpp 380 auto piece = std::move(path.front()); local
383 switch (piece->getKind()) {
385 removeRedundantMsgs(cast<PathDiagnosticCallPiece>(*piece).path);
388 removeRedundantMsgs(cast<PathDiagnosticMacroPiece>(*piece).subPieces);
396 auto *event = cast<PathDiagnosticEventPiece>(piece.get());
398 // come up with a preference, record which piece to keep, and consume
399 // another piece from the path.
402 piece = std::move(pieceToKeep == event ? piece : path.front());
414 path.push_back(std::move(piece));
431 auto piece = std::move(pieces.front()); local
2660 const auto &piece = *I; local
3055 auto piece = std::make_unique<PathDiagnosticEventPiece>( local
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaStmtAsm.cpp 116 const GCCAsmStmt::AsmStringPiece &Piece = AsmStrPieces[p];
117 if (!Piece.isOperand())
122 if (Piece.getOperandNo() == OpNo)
505 GCCAsmStmt::AsmStringPiece &Piece = Pieces[i];
506 if (!Piece.isOperand()) continue;
509 unsigned ConstraintIdx = Piece.getOperandNo();
538 Literal->getString(), Piece.getModifier(), Size,
544 auto B = targetDiag(Piece.getRange().getBegin(),
547 SuggestedModifier = "%" + SuggestedModifier + Piece.getString();
548 B << FixItHint::CreateReplacement(Piece.getRange(), SuggestedModifier)
    [all...]
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
ClangDiagnosticsEmitter.cpp 480 struct Piece {
482 Piece(PieceKind Kind) : ClassKind(Kind) {}
483 Piece(Piece const &O) = delete;
484 Piece &operator=(Piece const &) = delete;
485 virtual ~Piece() {}
488 static bool classof(const Piece *) { return true; }
494 struct MultiPiece : Piece {
495 MultiPiece() : Piece(MultiPieceClass) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 2162 // pieces and insert each element-sized piece into the vector.
2171 Constant *Piece = ConstantExpr::getLShr(C, ConstantInt::get(C->getType(),
2173 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy);
2174 if (!collectInsertionElements(Piece, ShiftI, Elements, VecEltTy,

Completed in 45 milliseconds