llvm-project/clang/lib
Douglas Gregor fcafc6e3de 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.

llvm-svn: 131968
2011-05-24 16:02:01 +00:00
..
AST Implement the initial part of C++0x [expr.const]p2, which specifies 2011-05-24 16:02:01 +00:00
Analysis Refactoring of constant expression evaluator 2011-05-13 03:29:01 +00:00
Basic sandybridge is now called corei7-avx 2011-05-20 15:11:23 +00:00
CodeGen Fix bug introduced with r131930. 2011-05-23 23:15:11 +00:00
Driver For non-Darwin, a plain 'char' type is unsigned. 2011-05-24 15:40:46 +00:00
Frontend Make it possible for external tools to distinguish between paths that come from -I and paths that come from -system. Patch from Paul Holden! 2011-05-24 04:31:14 +00:00
FrontendTool Re-enable disable free optimization where the FrontendAction is not freed when -disable-free is passed. This accidentally was commited in r128011. 2011-04-25 22:57:55 +00:00
Headers Add 'may_alias' attribute. Noticed by Eli. 2011-05-13 01:24:00 +00:00
Index Modify some deleted function methods to better reflect reality: 2011-05-06 20:44:56 +00:00
Lex Make it possible for external tools to distinguish between paths that come from -I and paths that come from -system. Patch from Paul Holden! 2011-05-24 04:31:14 +00:00
Parse Implement explicit specialization of explicitly-defaulted constructors. 2011-05-23 23:14:04 +00:00
Rewrite Replace a literal 8 with Context->getCharWidth() in 2011-04-30 16:08:27 +00:00
Sema Implement the initial part of C++0x [expr.const]p2, which specifies 2011-05-24 16:02:01 +00:00
Serialization When determining whether we can make a declaration into a global 2011-05-13 01:05:07 +00:00
StaticAnalyzer A few more is(Un)signedIntegerType/is(Un)signedOrEnumerationType cleanups. 2011-05-21 16:28:01 +00:00
Tooling Pulls the common part of the clang-check example into Tooling, to allow new tools to be implemented without duplicating the boilerplate. 2011-05-16 21:33:46 +00:00
CMakeLists.txt Adds a function to run FrontendActions over in-memory code. This is 2011-04-21 18:37:41 +00:00
Makefile Add lib/Tooling to the Makefile build. 2011-04-30 03:09:18 +00:00