diff options
author | Timm Bäder <tbaeder@redhat.com> | 2023-01-12 12:25:10 +0100 |
---|---|---|
committer | Timm Bäder <tbaeder@redhat.com> | 2023-03-31 07:27:04 +0200 |
commit | 30f96a8fb4511bed31a75863d4abec51c3d967a8 (patch) | |
tree | 7cddeb8cdc537f7e875317a4a56781723a7cd61b /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 3834b0467ddc97ce0595e98eab805cd306ba4069 (diff) | |
download | llvm-30f96a8fb4511bed31a75863d4abec51c3d967a8.zip llvm-30f96a8fb4511bed31a75863d4abec51c3d967a8.tar.gz llvm-30f96a8fb4511bed31a75863d4abec51c3d967a8.tar.bz2 |
[clang][Interp] Properly identify not-yet-defined functions
Since we now handle functions without a body as well, we can't just use
getHasBody() anymore. Funtions that haven't been defined yet are those
that don't have a body *and* aren't valid.
Also, just pass the information about whether the Function has a body or
not along from the FunctionDecl.
Differential Revision: https://reviews.llvm.org/D141591
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions