summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2013-04-02 02:48:58 +0000
committerJohn McCall <rjmccall@apple.com>2013-04-02 02:48:58 +0000
commitc87d97231d124952cef90b8717066c940afab409 (patch)
tree2a7db3ed4f7d3b5a5e03fda14a6a81c80d60827c /llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp
parente1d88cfb57f806fe87c4650379538ededa30dbc8 (diff)
downloadbcm5719-llvm-c87d97231d124952cef90b8717066c940afab409.tar.gz
bcm5719-llvm-c87d97231d124952cef90b8717066c940afab409.zip
Add -Wstatic-local-in-inline, which warns about using a static local
variable in a C99 inline (but not static-inline or extern-inline) function definition. The standard doesn't actually say that this doesn't apply to "extern inline" definitions, but that seems like a useful extension, and it at least doesn't have the obvious flaw that a static mutable variable in an externally-available definition does. rdar://13535367 llvm-svn: 178520
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud