commit | e9b12198c4cc7f5687960100351b4af006c14469 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Mon Jan 14 18:19:28 2008 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Mon Jan 14 18:19:28 2008 +0000 |
tree | 8578adc0a00f1f91b7430f669a6fc792f686ef89 | |
parent | 5d5480380d7b7c3590a0283ddf239220e514e576 [diff] |
Record if a compound literal expression is @ file scope. This allows us to implement C99 6.5.2.5p6. This could have been done without modifying the AST (by checking the decl type and passing the info down to isContextExpr), however we concluded this is more desirable. Bug/patch by Eli Friedman! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45966 91177308-0d34-0410-b5e6-96231b3b80d8