aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-05-24 16:02:01 +0000
committerDouglas Gregor <dgregor@apple.com>2011-05-24 16:02:01 +0000
commit63fe6814f339df30b8463b39995947cbdf920e48 (patch)
treeb2787522290f73659cb391e785fca5d4526cd0a3 /lib/Driver/Tools.cpp
parent5b4e7b11e745329d8a55fd56504450dede1b2100 (diff)
Implement the initial part of C++0x [expr.const]p2, which specifies
that the unevaluated subexpressions of &&, ||, and ? : are not considered when determining whether the expression is a constant expression. Also, turn the "used in its own initializer" warning into a runtime-behavior warning, so that it doesn't fire when a variable is used as part of an unevaluated subexpression of its own initializer. Fixes PR9999. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions