diff options
author | Timo Stripf <timo.stripf@emmtrix.com> | 2023-07-28 14:41:29 +0000 |
---|---|---|
committer | Timo Stripf <timo.stripf@emmtrix.com> | 2023-07-28 14:50:17 +0000 |
commit | a3da6284c23affdd9092b2641017e99d85c2d89b (patch) | |
tree | 0965e77ef0950ea3e50bcbcd2bcad41a99ee5f90 /llvm/lib/CodeGen/PrologEpilogInserter.cpp | |
parent | 20c92d26d9cfef27126b53ea305078725abf65e5 (diff) | |
download | llvm-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/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions