diff options
author | Timo Stripf <timo.stripf@emmtrix.com> | 2023-07-28 14:41:29 +0000 |
---|---|---|
committer | Timo Stripf <timo.stripf@emmtrix.com> | 2023-08-07 22:14:15 +0000 |
commit | 3e66a174dfd2144672cb7e23afb33df109abadd1 (patch) | |
tree | 2aee8d19e4cb317baf2daffa482bc074795ea22c /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 649e1d1b9de9d03918691e8dd3700f8d077d3498 (diff) | |
download | llvm-3e66a174dfd2144672cb7e23afb33df109abadd1.zip llvm-3e66a174dfd2144672cb7e23afb33df109abadd1.tar.gz llvm-3e66a174dfd2144672cb7e23afb33df109abadd1.tar.bz2 |
Reland [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
Initial commit had a failing test case on targets not supporting `__attribute__((alias))`. Added `-triple i386-linux-gnu` to the specific test case.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D156533
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions