diff options
Diffstat (limited to 'clang/include/clang')
-rw-r--r-- | clang/include/clang/Parse/Parser.h | 7 | ||||
-rw-r--r-- | clang/include/clang/Sema/ParsedTemplate.h | 2 | ||||
-rw-r--r-- | clang/include/clang/Sema/Sema.h | 5 |
3 files changed, 6 insertions, 8 deletions
diff --git a/clang/include/clang/Parse/Parser.h b/clang/include/clang/Parse/Parser.h index 71042303baa..e4956b5b2d9 100644 --- a/clang/include/clang/Parse/Parser.h +++ b/clang/include/clang/Parse/Parser.h @@ -195,7 +195,6 @@ public: // Type forwarding. All of these are statically 'void*', but they may all be // different actual classes based on the actions in place. - typedef Expr ExprTy; typedef Stmt StmtTy; typedef OpaquePtr<DeclGroupRef> DeclGroupPtrTy; typedef CXXBaseSpecifier BaseTy; @@ -1416,9 +1415,9 @@ private: void ParseMicrosoftIfExistsExternalDeclaration(); void ParseMicrosoftIfExistsClassDeclaration(DeclSpec::TST TagType, AccessSpecifier& CurAS); -bool ParseAsmOperandsOpt(SmallVectorImpl<IdentifierInfo *> &Names, - SmallVectorImpl<ExprTy *> &Constraints, - SmallVectorImpl<ExprTy *> &Exprs); + bool ParseAsmOperandsOpt(SmallVectorImpl<IdentifierInfo *> &Names, + SmallVectorImpl<Expr *> &Constraints, + SmallVectorImpl<Expr *> &Exprs); //===--------------------------------------------------------------------===// // C++ 6: Statements and Blocks diff --git a/clang/include/clang/Sema/ParsedTemplate.h b/clang/include/clang/Sema/ParsedTemplate.h index 1f572e5df4f..735a26bd7bc 100644 --- a/clang/include/clang/Sema/ParsedTemplate.h +++ b/clang/include/clang/Sema/ParsedTemplate.h @@ -114,7 +114,7 @@ namespace clang { KindType Kind; /// \brief The actual template argument representation, which may be - /// an \c ActionBase::TypeTy* (for a type), an ActionBase::ExprTy* (for an + /// an \c ActionBase::TypeTy* (for a type), an Expr* (for an /// expression), or an ActionBase::TemplateTy (for a template). void *Arg; diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h index 4d32169c5cf..935fe9947c9 100644 --- a/clang/include/clang/Sema/Sema.h +++ b/clang/include/clang/Sema/Sema.h @@ -180,7 +180,6 @@ public: typedef Attr AttrTy; typedef CXXBaseSpecifier BaseTy; typedef CXXCtorInitializer MemInitTy; - typedef Expr ExprTy; typedef Stmt StmtTy; typedef TemplateParameterList TemplateParamsTy; typedef NestedNameSpecifier CXXScopeTy; @@ -2503,7 +2502,7 @@ public: bool isBrackets; // true if [expr], false if .ident union { IdentifierInfo *IdentInfo; - ExprTy *E; + Expr *E; } U; }; @@ -5935,7 +5934,7 @@ public: unsigned NumSelIdents, bool AtArgumentExpression, bool IsSuper = false); - void CodeCompleteObjCInstanceMessage(Scope *S, ExprTy *Receiver, + void CodeCompleteObjCInstanceMessage(Scope *S, Expr *Receiver, IdentifierInfo **SelIdents, unsigned NumSelIdents, bool AtArgumentExpression, |