summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2019-07-25 22:23:40 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2019-07-25 22:23:40 +0000
commit9d045a5c1e6b7b32cec8bcf140e5bffa5ac812bd (patch)
tree9a9d76c2f39b252b739eb5c8812fb638f0f77c03 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
parent29af3b4e67713e929b3022d96c8e54408ed9cf46 (diff)
downloadbcm5719-llvm-9d045a5c1e6b7b32cec8bcf140e5bffa5ac812bd.tar.gz
bcm5719-llvm-9d045a5c1e6b7b32cec8bcf140e5bffa5ac812bd.zip
[Sema] add -Walloca to flag uses of `alloca`
This CL adds an optional warning to diagnose uses of the `__builtin_alloca` family of functions. The use of these functions is discouraged by many, so it seems like a good idea to allow clang to warn about it. Patch by Elaina Guan! Differential Revision: https://reviews.llvm.org/D64883 llvm-svn: 367067
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud