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

References

gen/tools/clang/include/clang/AST/AttrImpl.inc
 1331 AsmLabelAttr *AsmLabelAttr::clone(ASTContext &C) const {
 1332   auto *A = new (C) AsmLabelAttr(C, *this, getLabel(), isLiteralLabel);
 1332   auto *A = new (C) AsmLabelAttr(C, *this, getLabel(), isLiteralLabel);
11556     return cast<AsmLabelAttr>(this)->getSpelling();
12136     return cast<AsmLabelAttr>(this)->clone(C);
12716     return cast<AsmLabelAttr>(this)->printPretty(OS, Policy);
gen/tools/clang/include/clang/AST/AttrTextNodeDump.inc
   94   void VisitAsmLabelAttr(const AsmLabelAttr *A) {
   95     const auto *SA = cast<AsmLabelAttr>(A); (void)SA;
   95     const auto *SA = cast<AsmLabelAttr>(A); (void)SA;
gen/tools/clang/include/clang/AST/AttrVisitor.inc
  131   bool TraverseAsmLabelAttr(AsmLabelAttr *A);
  132   bool VisitAsmLabelAttr(AsmLabelAttr *A) {
 1474 bool VISITORCLASS<Derived>::TraverseAsmLabelAttr(AsmLabelAttr *A) {
 4016       return getDerived().TraverseAsmLabelAttr(cast<AsmLabelAttr>(A));
gen/tools/clang/include/clang/AST/Attrs.inc
 1693   static AsmLabelAttr *CreateImplicit(ASTContext &Ctx, llvm::StringRef Label, bool IsLiteralLabel, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
 1694     auto *A = new (Ctx) AsmLabelAttr(Ctx, CommonInfo, Label, IsLiteralLabel);
 1694     auto *A = new (Ctx) AsmLabelAttr(Ctx, CommonInfo, Label, IsLiteralLabel);
 1701   static AsmLabelAttr *Create(ASTContext &Ctx, llvm::StringRef Label, bool IsLiteralLabel, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
 1702     auto *A = new (Ctx) AsmLabelAttr(Ctx, CommonInfo, Label, IsLiteralLabel);
 1702     auto *A = new (Ctx) AsmLabelAttr(Ctx, CommonInfo, Label, IsLiteralLabel);
 1708   static AsmLabelAttr *CreateImplicit(ASTContext &Ctx, llvm::StringRef Label, bool IsLiteralLabel, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
 1712   static AsmLabelAttr *Create(ASTContext &Ctx, llvm::StringRef Label, bool IsLiteralLabel, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
 1716   static AsmLabelAttr *CreateImplicit(ASTContext &Ctx, llvm::StringRef Label, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
 1717     auto *A = new (Ctx) AsmLabelAttr(Ctx, CommonInfo, Label);
 1717     auto *A = new (Ctx) AsmLabelAttr(Ctx, CommonInfo, Label);
 1724   static AsmLabelAttr *Create(ASTContext &Ctx, llvm::StringRef Label, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
 1725     auto *A = new (Ctx) AsmLabelAttr(Ctx, CommonInfo, Label);
 1725     auto *A = new (Ctx) AsmLabelAttr(Ctx, CommonInfo, Label);
 1731   static AsmLabelAttr *CreateImplicit(ASTContext &Ctx, llvm::StringRef Label, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
 1735   static AsmLabelAttr *Create(ASTContext &Ctx, llvm::StringRef Label, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
 1762   AsmLabelAttr *clone(ASTContext &C) const;
 1784 bool isEquivalent(AsmLabelAttr *Other) const {
gen/tools/clang/include/clang/Sema/AttrTemplateInstantiate.inc
  169       const auto *A = cast<AsmLabelAttr>(At);
  169       const auto *A = cast<AsmLabelAttr>(At);
gen/tools/clang/include/clang/Serialization/AttrPCHRead.inc
  296     New = new (Context) AsmLabelAttr(Context, Info, label, isLiteralLabel);
gen/tools/clang/include/clang/Serialization/AttrPCHWrite.inc
  223     const auto *SA = cast<AsmLabelAttr>(A);
  223     const auto *SA = cast<AsmLabelAttr>(A);
include/llvm/ADT/STLExtras.h
   75       typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
   66   static inline bool doit(const From &) { return true; }
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 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*,
tools/clang/include/clang/AST/AttrIterator.h
   47     while (!isa<SpecificAttr>(*Current))
   52     while (Current != I && !isa<SpecificAttr>(*Current))
   57   using value_type = SpecificAttr *;
   58   using reference = SpecificAttr *;
   59   using pointer = SpecificAttr *;
   68     return cast<SpecificAttr>(*Current);
  101 inline specific_attr_iterator<SpecificAttr, Container>
  106 inline specific_attr_iterator<SpecificAttr, Container>
  113   return specific_attr_begin<SpecificAttr>(container) !=
  114           specific_attr_end<SpecificAttr>(container);
  117 inline SpecificAttr *getSpecificAttr(const Container& container) {
  118   specific_attr_iterator<SpecificAttr, Container> i =
  119       specific_attr_begin<SpecificAttr>(container);
  120   if (i != specific_attr_end<SpecificAttr>(container))
tools/clang/include/clang/AST/DeclBase.h
  538   template<typename T> T *getAttr() const {
  539     return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr;
  543     return hasAttrs() && hasSpecificAttr<T>(getAttrs());
tools/clang/include/clang/Sema/Sema.h
  870   llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*> ExtnameUndeclaredIdentifiers;
tools/clang/lib/AST/Expr.cpp
 3920           VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl())
tools/clang/lib/AST/Mangle.cpp
  113   if (D->hasAttr<AsmLabelAttr>())
  122   if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) {
  122   if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) {
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGBuiltin.cpp
   80   if (FD->hasAttr<AsmLabelAttr>())
tools/clang/lib/CodeGen/CGDecl.cpp
  232   if (D.hasAttr<AsmLabelAttr>())
tools/clang/lib/CodeGen/CGExpr.cpp
 2443   AsmLabelAttr *Asm = VD->getAttr<AsmLabelAttr>();
 2443   AsmLabelAttr *Asm = VD->getAttr<AsmLabelAttr>();
 2524         VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl())
tools/clang/lib/CodeGen/CGStmt.cpp
 1799   AsmLabelAttr *Attr = Variable->getAttr<AsmLabelAttr>();
 1799   AsmLabelAttr *Attr = Variable->getAttr<AsmLabelAttr>();
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2586       AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>();
 2586       AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>();
 2680     AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>();
 2680     AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>();
tools/clang/lib/Sema/SemaDecl.cpp
 2819   if (AsmLabelAttr *NewA = New->getAttr<AsmLabelAttr>()) {
 2819   if (AsmLabelAttr *NewA = New->getAttr<AsmLabelAttr>()) {
 2820     if (AsmLabelAttr *OldA = Old->getAttr<AsmLabelAttr>()) {
 2820     if (AsmLabelAttr *OldA = Old->getAttr<AsmLabelAttr>()) {
 2830         << isa<FunctionDecl>(Old) << New->getAttr<AsmLabelAttr>()->getRange();
 7020     NewVD->addAttr(::new (Context) AsmLabelAttr(
 7023     llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*>::iterator I =
 8925                        AsmLabelAttr(Context, SE->getStrTokenLoc(0),
 8928     llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*>::iterator I =
14038                   Var->hasAttr<AsmLabelAttr>() && !Var->hasInit();
17604   AsmLabelAttr *Attr = AsmLabelAttr::CreateImplicit(
17604   AsmLabelAttr *Attr = AsmLabelAttr::CreateImplicit(
tools/clang/lib/Sema/SemaOpenMP.cpp
 1315        VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl())) {
 2467         (VD->getStorageClass() == SC_Register && VD->hasAttr<AsmLabelAttr>() &&
 2622         (VD->getStorageClass() == SC_Register && VD->hasAttr<AsmLabelAttr>() &&
tools/clang/lib/Sema/SemaStmtAsm.cpp
  198       if (AsmLabelAttr *Attr = Variable->getAttr<AsmLabelAttr>())
  198       if (AsmLabelAttr *Attr = Variable->getAttr<AsmLabelAttr>())
tools/clang/tools/extra/clang-tidy/hicpp/NoAssemblerCheck.cpp
   20 AST_MATCHER(VarDecl, isAsm) { return Node.hasAttr<clang::AsmLabelAttr>(); }
tools/clang/tools/libclang/CIndex.cpp
 4624     const AsmLabelAttr *AA = cast<AsmLabelAttr>(cxcursor::getCursorAttr(C));
 4624     const AsmLabelAttr *AA = cast<AsmLabelAttr>(cxcursor::getCursorAttr(C));
tools/clang/unittests/AST/DeclTest.cpp
   91   DeclF->addAttr(::new (Ctx) AsmLabelAttr(Ctx, SourceLocation(), "foo",
   93   DeclG->addAttr(::new (Ctx) AsmLabelAttr(Ctx, SourceLocation(), "goo",
tools/lldb/source/Symbol/ClangASTContext.cpp
 8247     cxx_method_decl->addAttr(clang::AsmLabelAttr::CreateImplicit(
usr/include/c++/7.4.0/type_traits
 1558     { typedef _Tp     type; };
 1580     { typedef _Tp const     type; };