llvm-project/clang/lib
Argyrios Kyrtzidis 5929ef2ee7 Revert r151638 because it causes assertion hit on PCH creation for Cocoa.h
Original log:
---------------------
Correctly track tags and enum members defined in the prototype of a function, and ensure they are properly scoped.

This fixes code such as:

enum e {x, y};
int f(enum {y, x} n) {
 return 0;
}

This finally fixes PR5464 and PR5477.
---------------------

I also reverted r151641 which was enhancement on top of r151638.

llvm-svn: 151667
2012-02-28 23:39:14 +00:00
..
ARCMigrate Move "clang/Analysis/Support/SaveAndRestore.h" to "llvm/ADT/SaveAndRestore.h" 2012-02-27 21:09:45 +00:00
AST Revert r151638 because it causes assertion hit on PCH creation for Cocoa.h 2012-02-28 23:39:14 +00:00
Analysis Move "clang/Analysis/Support/SaveAndRestore.h" to "llvm/ADT/SaveAndRestore.h" 2012-02-27 21:09:45 +00:00
Basic Some more Solaris fixes. Now successfully building libc++ on Solaris with clang (and linking clang against it). 2012-02-28 17:10:04 +00:00
CodeGen Prefer bitcast+GEP over ptrtoint+sub+inttoptr: it's semantically equivalent here, and generally nicer to the optimizer. 2012-02-28 22:07:56 +00:00
Driver Add -lm by default on Solaris. 2012-02-28 20:06:45 +00:00
Frontend Some more Solaris fixes. Now successfully building libc++ on Solaris with clang (and linking clang against it). 2012-02-28 17:10:04 +00:00
FrontendTool Make use of const-correct ParseCommandLineOptions 2012-02-07 19:36:38 +00:00
Headers * tgmath_logb.patch implements the missing logb function (see C99 standard 7.22, paragraph 5). * tgmath_fabs_complex.patch corrects the return types for the complex fabs functions. These must be non-complex float/double/long double (see C99 standard 7.22, paragraph 4 and 7.3.8.1). Patch contributed by Kristof Beyls. 2012-02-23 20:22:10 +00:00
Index More dead code removal (using -Wunreachable-code) 2012-01-20 21:50:17 +00:00
Lex Initializer lists are now supported. 2012-02-25 20:51:27 +00:00
Parse Revert r151638 because it causes assertion hit on PCH creation for Cocoa.h 2012-02-28 23:39:14 +00:00
Rewrite Modern objective-c translator. rewriting ivars of aggregate type. 2012-02-28 22:45:07 +00:00
Sema Revert r151638 because it causes assertion hit on PCH creation for Cocoa.h 2012-02-28 23:39:14 +00:00
Serialization Move "clang/Analysis/Support/SaveAndRestore.h" to "llvm/ADT/SaveAndRestore.h" 2012-02-27 21:09:45 +00:00
StaticAnalyzer [analyzer diagnostics] Refactor filtration for PathDiagnosticConsumers that don't support cross-file diagnostics 2012-02-28 23:27:39 +00:00
CMakeLists.txt The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00
Makefile The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00