aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-08-02 20:49:51 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-08-02 20:49:51 +0000
commitc27bc80a98b9558513b50956c930eedc9e461ae0 (patch)
treeb091492524ff8945cbb845d0a357dd0c154bcba6 /lib/Sema/SemaDeclCXX.cpp
parent7e67593b18f2b1bed211bbdce3eb9b3d333d7003 (diff)
Attaching comments to declarations: handle using-declaration.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclCXX.cpp')
-rw-r--r--lib/Sema/SemaDeclCXX.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/SemaDeclCXX.cpp b/lib/Sema/SemaDeclCXX.cpp
index fae0b165ce..35364dca74 100644
--- a/lib/Sema/SemaDeclCXX.cpp
+++ b/lib/Sema/SemaDeclCXX.cpp
@@ -6649,6 +6649,7 @@ Decl *Sema::ActOnAliasDeclaration(Scope *S,
if (!Redeclaration)
PushOnScopeChains(NewND, S);
+ ActOnDocumentableDecl(NewND);
return NewND;
}