commit | f0b2354d8b53bceb410cce2eccffcb097e1207d6 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Thu Jan 10 22:15:12 2008 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Thu Jan 10 22:15:12 2008 +0000 |
tree | 55b276ca414365c0d676adb91ac428db080fecba | |
parent | 6833b3b4f1736ca167920868f5c8a168da6ad7f4 [diff] |
- Teach Expr::isConstantExpr() about InitListExpr's (and offsetof, since I noticed it was missing). - Rename CheckInitializer() to CheckInitializerTypes(). - Removed the isStatic argument to CheckInitializerTypes() and all of it's subroutines. Checking for constant expressions is now done separately. - Added CheckForConstantInitializer(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45840 91177308-0d34-0410-b5e6-96231b3b80d8