diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-07-31 23:46:44 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-07-31 23:46:44 +0000 |
commit | 6de7a247824b4d15e97c551a919410cbce90a24f (patch) | |
tree | 217dfefa68c7c49319cbe2c2bc8a725a293d033c /clang/test/Preprocessor/ifdef-recover.c | |
parent | b7e2f6015ae8fe44580ed242a0bca9c0001612ac (diff) | |
download | bcm5719-llvm-6de7a247824b4d15e97c551a919410cbce90a24f.tar.gz bcm5719-llvm-6de7a247824b4d15e97c551a919410cbce90a24f.zip |
[modules] Maintain an AST invariant across module load/save: if any declaration
of a function has a resolved exception specification, then all declarations of
the function do.
We should probably improve the AST representation to make this implicit (perhaps
only store the exception specification on the canonical declaration), but this
fixes things for now.
The testcase for this (which used to assert) also exposes the actual bug I was
trying to reduce here: we sometimes fail to emit the body of an imported
special member function definition. Fix for that to follow.
llvm-svn: 214458
Diffstat (limited to 'clang/test/Preprocessor/ifdef-recover.c')
0 files changed, 0 insertions, 0 deletions