- Apr 10, 2009
-
-
Douglas Gregor authored
de-serialization of abstract syntax trees. PCH support serializes the contents of the abstract syntax tree (AST) to a bitstream. When the PCH file is read, declarations are serialized as-needed. For example, a declaration of a variable "x" will be deserialized only when its VarDecl can be found by a client, e.g., based on name lookup for "x" or traversing the entire contents of the owner of "x". This commit provides the framework for serialization and (lazy) deserialization, along with support for variable and typedef declarations (along with several kinds of types). More declarations/types, along with important auxiliary structures (source manager, preprocessor, etc.), will follow. llvm-svn: 68732
-
- Apr 09, 2009
-
-
Anders Carlsson authored
llvm-svn: 68729
-
Daniel Dunbar authored
- PR3964. llvm-svn: 68710
-
Ted Kremenek authored
of messages sent to nil. llvm-svn: 68683
-
Daniel Dunbar authored
up adding them twice when running with -no-integrated-cpp or -save-temps. - <rdar://problem/6766636> -save-temps falls over with prefix headers llvm-svn: 68660
-
-
Daniel Dunbar authored
llvm-svn: 68651
-
- Apr 08, 2009
-
-
Chris Lattner authored
llvm-svn: 68640
-
Anders Carlsson authored
llvm-svn: 68635
-
Fariborz Jahanian authored
used as receiver. llvm-svn: 68631
-
Ted Kremenek authored
Enhance analyzer reasoning about sending messages to nil. A nil receiver returns 0 for scalars of size <= sizeof(void*). llvm-svn: 68629
-
Daniel Dunbar authored
- Add -static-define option driver can use when __STATIC__ should be defined (instead of __DYNAMIC__). - Don't set __OPTIMIZE_SIZE__ on Os, __OPTIMIZE_SIZE__ is tied to Oz. - Set __NO_INLINE__ following GCC 4.2. - Set __GNU_GNU_INLINE__ or __GNU_STDC_INLINE__ following GCC 4.2. - Set __EXCEPTIONS for Objective-C NonFragile ABI. - Set __STRICT_ANSI__ for standard conforming modes. - I added a clang style test case in utils for this, but its not particularly portable and I don't think it belongs in the test suite. llvm-svn: 68621
-
Steve Naroff authored
Fixes <rdar://problem/6762239> [sema] gcc incompatibility; error on incompatible operand types in ?:. llvm-svn: 68617
-
Douglas Gregor authored
Fixes <rdar://problem/6759522> llvm-svn: 68611
-
Daniel Dunbar authored
- Complete <rdar://problem/6635883> Support __objc_exception__ attribute llvm-svn: 68591
-
Ted Kremenek authored
"The attached patch generates warnings of cases where an ObjC message is sent to a nil object and the size of return type of that message is larger than the size of void pointer. This may result in undefined return values as described in PR 2718. The patch also includes test cases." llvm-svn: 68585
-
Daniel Dunbar authored
- Add -pic-level clang-cc option to specify the value for the define, updated driver to pass this. - Added __pic__ - Added OBJC_ZEROCOST_EXCEPTIONS define while I was here (to match gcc). llvm-svn: 68584
-
-
Daniel Dunbar authored
llvm-svn: 68570
-
-
Daniel Dunbar authored
llvm-svn: 68561
-
Daniel Dunbar authored
multiple instances of an option. Also, removed direct -ansi support from clang-cc. llvm-svn: 68558
-
- Apr 07, 2009
-
-
Fariborz Jahanian authored
we must not issue gc-specific errors in non-gc mode. llvm-svn: 68551
-
Daniel Dunbar authored
clang. - We will eventually want some more driver infrastructre for this probably. - For now, the clang-cc interface stays relatively the same, but we don't accept multiple instances anymore, or the [no-] variants directly. llvm-svn: 68550
-
Fariborz Jahanian authored
llvm-svn: 68543
-
Eli Friedman authored
functions. Fixes PR3941. llvm-svn: 68541
-
Fariborz Jahanian authored
the base implementations (and not in current implementation). llvm-svn: 68527
-
Anders Carlsson authored
llvm-svn: 68526
-
Daniel Dunbar authored
incorrectly. I'm blanking on the smartest way to write this search, but we should just do the right thing when we move to TableGen. - <rdar://problem/6761194> [driver] -Wextra-tokens isn't parsed correctly llvm-svn: 68525
-
Daniel Dunbar authored
llvm-svn: 68521
-
Douglas Gregor authored
llvm-svn: 68519
-
Steve Naroff authored
Tweak Sema::ActOnInstanceMessage() to look for a class method when dealing with qualified id's. This change is motivated by our desire to not support the "Class<foo>" idiom. Note that the change makes perfect sense (since all ObjC classes are also id/instances). This allow us to document a simple migration path...change "Class <foo>" to "id <foo>". This effects: - <rdar://problem/6761939> TASK: File source change radars for "qualified Class" errors - <rdar://problem/6761864> Protocol qualified Class is unsupported llvm-svn: 68517
-
Steve Naroff authored
llvm-svn: 68515
-
Steve Naroff authored
This fixes <rdar://problem/6757102> clang type for @"xxx" is "NSConstantString *" (GCC type is "NSString *"). llvm-svn: 68514
-
Daniel Dunbar authored
exception with this attribute we don't need to emit a weak definition for the exception type information. llvm-svn: 68513
-
Chris Lattner authored
llvm-svn: 68512
-
rdar://6762183Chris Lattner authored
GCC ignores macro definitions after \n's or that real code depends on this. llvm-svn: 68511
-
Daniel Dunbar authored
- Changed method names to match gcc (categories names still aren't mangled in). - Expose correct name for class and metadata symbols (although -fvisibility=hidden isn't yet correct). - Remove several things from llvm.used that didn't need to be there (I suspect this can still be trimmed). - Don't use asm-prefix extension for _objc_empty_{cache,vtable} (not needed). - Hide EH type class info with -fvisibility=hidden - Change setGlobal[Option]Visibility to not change the visibility of functions with internal linkage. llvm-svn: 68510
-
Ted Kremenek authored
llvm-svn: 68505
-
Daniel Dunbar authored
-mtriple). llvm-svn: 68484
-