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

References

tools/clang/lib/Sema/SemaTemplate.cpp
  738   assert(isa<TagDecl>(Instantiation) || isa<FunctionDecl>(Instantiation) ||
  738   assert(isa<TagDecl>(Instantiation) || isa<FunctionDecl>(Instantiation) ||
  739          isa<VarDecl>(Instantiation));
  764   if (TagDecl *TD = dyn_cast<TagDecl>(Instantiation))
  773     Instantiation->setInvalidDecl();
  775     if (isa<FunctionDecl>(Instantiation)) {
  778         << /*member function*/ 1 << Instantiation->getDeclName()
  779         << Instantiation->getDeclContext();
  782       assert(isa<TagDecl>(Instantiation) && "Must be a TagDecl!");
  789     if (isa<FunctionDecl>(Instantiation)) {
  794     } else if (isa<TagDecl>(Instantiation)) {
  800       assert(isa<VarDecl>(Instantiation) && "Must be a VarDecl!");
  801       if (isa<VarTemplateSpecializationDecl>(Instantiation)) {
  804           << Instantiation;
  805         Instantiation->setInvalidDecl();
  809           << /*static data member*/ 2 << Instantiation->getDeclName()
  810           << Instantiation->getDeclContext();
  822     Instantiation->setInvalidDecl();