aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorTimo Stripf <timo.stripf@emmtrix.com>2023-07-28 14:41:29 +0000
committerTimo Stripf <timo.stripf@emmtrix.com>2023-07-28 14:50:17 +0000
commita3da6284c23affdd9092b2641017e99d85c2d89b (patch)
tree0965e77ef0950ea3e50bcbcd2bcad41a99ee5f90 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent20c92d26d9cfef27126b53ea305078725abf65e5 (diff)
downloadllvm-a3da6284c23affdd9092b2641017e99d85c2d89b.zip
llvm-a3da6284c23affdd9092b2641017e99d85c2d89b.tar.gz
llvm-a3da6284c23affdd9092b2641017e99d85c2d89b.tar.bz2
[clang][DeclPrinter] Fix missing semicolon in AST print for methods that are definitions without having a body
DeclPrinter used FunctionDecl::isThisDeclarationADefinition to decide if the decl requires a semicolon at the end. However, there are several methods without body (that require a semicolon) that are definitions. Fixes https://github.com/llvm/llvm-project/issues/62996 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D156533
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions