Home | History | Annotate | Download | only in Sema

Lines Matching refs:Typedef

380 ///   typedef int TYPE;
1190 // typedef struct {
1194 // When we see foo we don't know if after the typedef we will get 'A' or '*A'
1197 // of the typedef, this function finds out if D might have non external linkage.
1309 // Only look at the outermost level of typedef.
1646 // Must not redefine a typedef with a variably-modified type.
1671 /// MergeTypedefNameDecl - We just parsed a typedef 'New' which has the
1719 // Fall through - the typedef name was not a builtin type.
1739 // If the typedef types are not identical, reject them in all languages and
1745 // declaration was a typedef.
1746 if (TypedefNameDecl *Typedef = dyn_cast<TypedefNameDecl>(Old))
1747 New->setPreviousDeclaration(Typedef);
1755 // C++ [dcl.typedef]p2:
1756 // In a given non-class scope, a typedef specifier can be used to
1762 // C++0x [dcl.typedef]p4:
1763 // In a given class scope, a typedef specifier can be used to redefine
1764 // any class-name declared in that scope that is not also a typedef-name
1771 // typedef struct A { } A;
1778 // typedef int I;
1779 // typedef int I;
1796 // If we have a redefinition of a typedef in C, emit a warning. This warning
3180 // STRUCT_TYPE; <- where STRUCT_TYPE is a typedef struct.
3204 // Customize diagnostic for a typedef missing a name.
3413 "Parser allowed 'typedef' as storage class VarDecl.");
3685 // If there is no Record, get the record via the typedef.
4154 // If this is a typedef, we'll end up spewing multiple diagnostics.
4238 // typedef (C++ [dcl.typedef]p4).
4455 // Typedef declarators cannot be qualified (C++ [dcl.meaning]p1).
4493 // C99 6.7.7p2: If a typedef name specifies a variably modified type
4530 /// declares a typedef-name, either using the 'typedef' type specifier or via
4531 /// a C++0x [dcl.typedef]p2 alias-declaration: 'using T = A;'.
6107 // - the type R of the function is some kind of typedef or other reference
6244 // typedef of void is not permitted.
6784 // When we're declaring a function with a typedef, typeof, etc as in the
6789 // typedef void fn(int);
6803 "Should not need args for typedef of non-prototype fn");
7673 typedef EvaluatedExprVisitor<SelfReferenceChecker> Inherited;
8829 // 'typedef struct S {} S;'
8830 // 'typedef struct S *S;'
8971 /// typedef.
9821 // C++ [dcl.typedef]p8:
9822 // If the typedef declaration defines an unnamed class (or
9823 // enum), the first typedef-name declared by the declaration
9836 // associated typedef (from an earlier typedef in this decl group).
9847 // Otherwise, set this is the anon-decl typedef for the tag.
10344 // It's okay to have a tag decl in the same scope as a typedef
12250 typedef SmallVector<EnumConstantDecl *, 3> ECDVector;
12251 typedef SmallVector<ECDVector *, 3> DuplicatesVector;
12253 typedef llvm::PointerUnion<EnumConstantDecl*, ECDVector*> DeclOrVector;
12254 typedef llvm::DenseMap<DupKey, DeclOrVector, DenseMapInfoDupKey>