aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-06-08 10:12:08 +0200
committerNikita Popov <npopov@redhat.com>2022-06-24 16:08:07 +0200
commit871197d0a38440835bb5ac17e70ab384e5616020 (patch)
tree8ab12ff5b738174ec13249346f6ef021e227348c /clang/lib/Frontend/CompilerInvocation.cpp
parent999aa6bf7f76329662bea46d7bfc29b9149b8827 (diff)
downloadllvm-871197d0a38440835bb5ac17e70ab384e5616020.zip
llvm-871197d0a38440835bb5ac17e70ab384e5616020.tar.gz
llvm-871197d0a38440835bb5ac17e70ab384e5616020.tar.bz2
[MemoryBuiltins] Accept any value in getInitialValueOfAllocation() (NFC)
Drop the requirement that getInitialValueOfAllocation() must be passed an allocator function, shifting the responsibility for checking that into the function (which it does anyway). The motivation is to avoid some calls to isAllocationFn(), which has somewhat ill-defined semantics (given the number of allocator-related attributes we have floating around...) (For this function, all we eventually need is an allockind of zeroed or uninitialized.) Differential Revision: https://reviews.llvm.org/D127274
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions