[cfe-commits] r115103 - /cfe/trunk/include/clang/AST/Decl.h
Devang Patel
dpatel at apple.com
Wed Sep 29 16:08:01 PDT 2010
Author: dpatel
Date: Wed Sep 29 18:08:00 2010
New Revision: 115103
URL: http://llvm.org/viewvc/llvm-project?rev=115103&view=rev
Log:
ImplicitParamDecl is always implicit.
Modified:
cfe/trunk/include/clang/AST/Decl.h
Modified: cfe/trunk/include/clang/AST/Decl.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Decl.h?rev=115103&r1=115102&r2=115103&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Decl.h (original)
+++ cfe/trunk/include/clang/AST/Decl.h Wed Sep 29 18:08:00 2010
@@ -928,7 +928,9 @@
protected:
ImplicitParamDecl(Kind DK, DeclContext *DC, SourceLocation L,
IdentifierInfo *Id, QualType Tw)
- : VarDecl(DK, DC, L, Id, Tw, /*TInfo=*/0, SC_None, SC_None) {}
+ : VarDecl(DK, DC, L, Id, Tw, /*TInfo=*/0, SC_None, SC_None) {
+ setImplicit();
+ }
public:
static ImplicitParamDecl *Create(ASTContext &C, DeclContext *DC,
SourceLocation L, IdentifierInfo *Id,
More information about the cfe-commits
mailing list