aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorTimm Bäder <tbaeder@redhat.com>2023-01-12 12:25:10 +0100
committerTimm Bäder <tbaeder@redhat.com>2023-03-31 07:27:04 +0200
commit30f96a8fb4511bed31a75863d4abec51c3d967a8 (patch)
tree7cddeb8cdc537f7e875317a4a56781723a7cd61b /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parent3834b0467ddc97ce0595e98eab805cd306ba4069 (diff)
downloadllvm-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