]> granicus.if.org Git - clang/commit
Fix empty declaration printing.
authorMichael Han <fragmentshaders@gmail.com>
Mon, 25 Feb 2013 18:40:11 +0000 (18:40 +0000)
committerMichael Han <fragmentshaders@gmail.com>
Mon, 25 Feb 2013 18:40:11 +0000 (18:40 +0000)
commit6980f17c78442a7db80d98902932ef047930284a
tree5dc7d16cd8d038f807425610cda0c467ddf2327e
parent6dc5c33fd4334ccf4a661c331f86e23829e51d55
Fix empty declaration printing.

Don't print the semicolon when visiting an empty declaration because the semicolon
will be printed as a terminator later.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176035 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclPrinter.cpp
test/SemaCXX/cxx11-ast-print.cpp