diff options
author | Anders Carlsson <andersca@mac.com> | 2009-09-25 01:54:38 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-09-25 01:54:38 +0000 |
commit | a4c6081abd5582515b110bdcb576b4b85536467b (patch) | |
tree | b2b49afc3a3bb59884fbcc9d6c177360cdf632b2 /lib/Frontend/ASTConsumers.cpp | |
parent | a180529e3d5d08dff2e2154d6a33a6c09f6af959 (diff) |
Who would have thought that empty classes were so tricky? Handle cases where an empty virtual base class needs to be moved aside because it conflicts with the first field.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82746 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/ASTConsumers.cpp')
-rw-r--r-- | lib/Frontend/ASTConsumers.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Frontend/ASTConsumers.cpp b/lib/Frontend/ASTConsumers.cpp index 5ef5c0e6f0..5925112145 100644 --- a/lib/Frontend/ASTConsumers.cpp +++ b/lib/Frontend/ASTConsumers.cpp @@ -540,6 +540,9 @@ public: if (RD->isImplicit()) continue; + if (RD->isDependentType()) + continue; + // FIXME: Do we really need to hard code this? if (RD->getQualifiedNameAsString() == "__va_list_tag") continue; |