diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-07-27 05:40:23 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-07-27 05:40:23 +0000 |
| commit | 9b88a4cdf48d714751ed6a02245d7bdf023072f9 (patch) | |
| tree | 2615ab41bfb4b75d715439721ff722ca76dfbdae /clang/lib/Driver/Tools.cpp | |
| parent | 94abbbd6abc411697a346c2f36f67d5ff3f38f27 (diff) | |
| download | bcm5719-llvm-9b88a4cdf48d714751ed6a02245d7bdf023072f9.tar.gz bcm5719-llvm-9b88a4cdf48d714751ed6a02245d7bdf023072f9.zip | |
[modules] Add an assert for redeclarations that we never added to their redecl
chain and fix the cases where it fires.
* Handle the __va_list_tag as a predefined decl. Previously we failed to merge
sometimes it because it's not visible to name lookup. (In passing, remove
redundant __va_list_tag typedefs that we were creating for some ABIs. These
didn't affect the mangling or representation of the type.)
* For Decls derived from Redeclarable that are not in fact redeclarable
(implicit params, function params, ObjC type parameters), remove them from
the list of expected redeclarable decls.
llvm-svn: 243259
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions

