reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  513 struct MultiPiece : Piece {
  525 struct TextPiece : Piece {
  536 struct PlaceholderPiece : Piece {
  547 struct SelectPiece : Piece {
  576 struct DiffPiece : Piece {
  587 struct SubstitutionPiece : Piece {

References

include/llvm/Support/Casting.h
   57   static inline bool doit(const From &Val) {
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  502   Piece(Piece const &O) = delete;
  503   Piece &operator=(Piece const &) = delete;
  503   Piece &operator=(Piece const &) = delete;
  507   static bool classof(const Piece *) { return true; }
  513 struct MultiPiece : Piece {
  515   MultiPiece(std::vector<Piece *> Pieces)
  518   std::vector<Piece *> Pieces;
  520   static bool classof(const Piece *P) {
  525 struct TextPiece : Piece {
  531   static bool classof(const Piece *P) {
  536 struct PlaceholderPiece : Piece {
  542   static bool classof(const Piece *P) {
  547 struct SelectPiece : Piece {
  556   std::vector<Piece *> Options;
  559   static bool classof(const Piece *P) {
  568   std::vector<Piece *> OptionPrefixes;
  571   static bool classof(const Piece *P) {
  576 struct DiffPiece : Piece {
  579   Piece *Options[2] = {};
  582   static bool classof(const Piece *P) {
  587 struct SubstitutionPiece : Piece {
  593   static bool classof(const Piece *P) {
  629   Piece *getSubstitution(SubstitutionPiece *S) const {
  644     std::vector<Piece *> AllocatedPieces;
  645     Piece *Root = nullptr;
  648       static_assert(std::is_base_of<Piece, T>::value, "must be piece");
  657     Piece *parseDiagText(StringRef &Text, bool Nested = false);
  668       for (Piece *P : AllocatedPieces)
  723     Piece *Substitution;
  729   void Visit(Piece *P) {
  807       Piece *OrigP, const ModifierMappingsType &CurrentMappings,
  808       std::vector<std::pair<Piece *, ModifierMappingsType>> &Pieces) const {
  815       for (Piece *Node : MD->Pieces)
  833     std::vector<std::pair<Piece *, ModifierMappingsType>> Pieces;
  839     for (const std::pair<Piece *, ModifierMappingsType> &NodePair : Pieces) {
  909     for (auto *O : P->Options) {
  935     for (auto *Child : P->Pieces)
  949       for (auto *D : P->Options) {
 1003 Piece *DiagnosticTextBuilder::DiagText::parseDiagText(StringRef &Text,
 1005   std::vector<Piece *> Parsed;
usr/include/c++/7.4.0/type_traits
 1983     { typedef _Up     type; };