llvm-project/clang/lib
Serge Pavlov 47ebb75cf9 Do not parse members of incomplete class.
If definition of a class is unknown and out-of-line definition of its
member is encountered, do not parse the member declaration.
This change fixes PR18542.

Differential Revision: http://reviews.llvm.org/D8010

llvm-svn: 239483
2015-06-10 19:06:59 +00:00
..
ARCMigrate Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types 2015-05-29 19:42:19 +00:00
AST some StmtExprs do not have side-effects 2015-06-10 15:18:23 +00:00
ASTMatchers Move a test from static-assert.cpp to DeclPrinterTest 2015-06-05 22:40:53 +00:00
Analysis Append CXXDefaultInitExpr's wrapped expression to the CFG when visiting a constructor initializer 2015-06-03 10:12:40 +00:00
Basic [ItaniumMangle] Mangle long double as __float128 for some Power targets 2015-06-09 18:05:33 +00:00
CodeGen Pass down the -flto option to the -cc1 job, and from there into the 2015-06-10 17:49:45 +00:00
Driver Pass down the -flto option to the -cc1 job, and from there into the 2015-06-10 17:49:45 +00:00
Edit [edit] Don't hit an assert when trying to delete a trailing space at EOF 2015-03-29 18:07:29 +00:00
Format clang-format: [JS] Only special case top level object literal 2015-06-10 09:21:09 +00:00
Frontend Pass down the -flto option to the -cc1 job, and from there into the 2015-06-10 17:49:45 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers [PowerPC] Reformat altivec.h with clang-format 2015-06-09 14:39:47 +00:00
Index Rename MacroDefinition -> MacroDefinitionRecord, Preprocessor::MacroDefinition -> MacroDefinition. 2015-05-04 02:25:31 +00:00
Lex [cleanup] Remove unused default argument and tidy up. 2015-06-10 01:37:59 +00:00
Parse Correct Loop Hint Diagnostic Message 2015-06-08 23:13:43 +00:00
Rewrite Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:58:30 +00:00
Sema Do not parse members of incomplete class. 2015-06-10 19:06:59 +00:00
Serialization [modules] Reconstruct template default argument inheritance on reload rather 2015-06-10 01:47:58 +00:00
StaticAnalyzer Implementing C99 partial re-initialization behavior (DR-253) 2015-06-10 00:27:52 +00:00
Tooling Allow replacements created from token ranges to specify language options. 2015-06-03 13:10:41 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00