diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-11-16 01:28:25 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-11-16 01:28:25 +0000 |
commit | 35019dbe6ba58e572818c12279029db6f75cca61 (patch) | |
tree | ef6557c0ad03e0551b4a063fc103592130e6530c /clang/test/Index/comment-cplus-decls.cpp | |
parent | fe059c782fbd264ca5807e7823016ddbd3801db6 (diff) | |
download | bcm5719-llvm-35019dbe6ba58e572818c12279029db6f75cca61.tar.gz bcm5719-llvm-35019dbe6ba58e572818c12279029db6f75cca61.zip |
[DeclPrinter] Honor TerseOutput for constructors
Patch by Nikolai Kosjar!
Differential Revision: https://reviews.llvm.org/D39957
llvm-svn: 318365
Diffstat (limited to 'clang/test/Index/comment-cplus-decls.cpp')
-rw-r--r-- | clang/test/Index/comment-cplus-decls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/comment-cplus-decls.cpp b/clang/test/Index/comment-cplus-decls.cpp index 6e32c60a222..c4b08eb779a 100644 --- a/clang/test/Index/comment-cplus-decls.cpp +++ b/clang/test/Index/comment-cplus-decls.cpp @@ -46,7 +46,7 @@ protected: data* reserved; }; // CHECK: <Declaration>class Test {}</Declaration> -// CHECK: <Declaration>Test() : reserved(new Test::data()) {}</Declaration> +// CHECK: <Declaration>Test()</Declaration> // CHECK: <Declaration>unsigned int getID() const</Declaration> // CHECK: <Declaration>~Test(){{( noexcept)?}}</Declaration> // CHECK: <Declaration>Test::data *reserved</Declaration> |