projects
/
clang
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10a7a6a
)
ImplicitParamDecl is always implicit.
author
Devang Patel
<dpatel@apple.com>
Wed, 29 Sep 2010 23:08:00 +0000
(23:08 +0000)
committer
Devang Patel
<dpatel@apple.com>
Wed, 29 Sep 2010 23:08:00 +0000
(23:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115103
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/clang/AST/Decl.h
patch
|
blob
|
history
diff --git
a/include/clang/AST/Decl.h
b/include/clang/AST/Decl.h
index c0b8681024c8b5bfa32a7da2253dc8a8450cc1cb..d4c660029264f540423bcf19cf98e451216bf3d2 100644
(file)
--- a/
include/clang/AST/Decl.h
+++ b/
include/clang/AST/Decl.h
@@
-928,7
+928,9
@@
class ImplicitParamDecl : public VarDecl {
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,