- Oct 17, 2009
-
-
Ted Kremenek authored
its own BumpPtrAllocator to allocate ASTs. Change clang_createTranslationUnit (CIndex) to pass 'UseBumpPtrAllocator = true' to ASTUnit::LoadFromPCHFile(). llvm-svn: 84296
-
Douglas Gregor authored
format, so that we don't end up with multiple declaration and types blocks. Also, fix a few obscure bugs with PCH loading and generation: - If the DeclIDs DenseMap reallocates while we are writing a declaration (due to recursively writing other declarations), we could end up writing a bad ID to ExternalDefinitions. - When loading an ArrayLoc (part of DeclaratorInfo), we need to set the size expression to NULL if no size expression was provided. PCH -> AST rewriting is still partly broken, unfortunately. llvm-svn: 84293
-
Douglas Gregor authored
interface that can load those source-location entries on demand (from another PCH file). llvm-svn: 84287
-
- Oct 16, 2009
-
-
John McCall authored
core PCH reader/writer implementation files. llvm-svn: 84278
-
Douglas Gregor authored
header or not via a new "PCHLevel" field in Decl. We currently use this information to help CIndex filter out declarations that came from a precompiled header (rather than from an AST file). Further down the road, it can be used to help implement multi-level precompiled headers. llvm-svn: 84267
-
Douglas Gregor authored
only supporting a single stat cache. The immediate benefit of this change is that we can now generate a PCH/AST file when including another PCH file; in the future, the chain of stat caches will likely be useful with multiple levels of PCH files. llvm-svn: 84263
-
John Thompson authored
llvm-svn: 84227
-
John McCall authored
TypeLoc records for declarations; it should not be necessary to represent it directly in the type system. Please complain if you were using these classes and feel you can't replicate previous functionality using the TypeLoc API. llvm-svn: 84222
-
Steve Naroff authored
llvm-svn: 84208
-
- Oct 15, 2009
-
-
Edward O'Callaghan authored
llvm-svn: 84176
-
John McCall authored
most of the unsafe boilerplate out of TypeLoc. Create a QualifiedLoc class to represent the idea that we *might* start representing source locations of qualifiers. Dealing with qualifiers explicitly like this also lets us efficiently ignore them in all the concrete cases. This should make it obvious and easy to add new TypeLoc subclasses. llvm-svn: 84168
-
- Oct 14, 2009
-
-
Rafael Espindola authored
this is only used in darwin10, 64 bit ubuntu 9.10 and 64 bit openSUSE 11.1. llvm-svn: 84115
-
- Oct 13, 2009
-
-
John Thompson authored
llvm-svn: 84007
-
- Oct 12, 2009
-
-
Mike Stump authored
llvm-svn: 83898
-
Edward O'Callaghan authored
llvm-svn: 83847
-
- Oct 09, 2009
-
-
Mike Stump authored
llvm-svn: 83666
-
Mike Stump authored
llvm-svn: 83664
-
Axel Naumann authored
llvm-svn: 83663
-
Mike Stump authored
llvm-svn: 83599
-
Mike Stump authored
existing MinGW headers, plus the newer 4.4.0 version. Patch by John Thompson. llvm-svn: 83594
-
Douglas Gregor authored
llvm-svn: 83582
-
- Oct 08, 2009
-
-
Ted Kremenek authored
llvm-svn: 83560
-
- Oct 06, 2009
-
-
Rafael Espindola authored
llvm-svn: 83357
-
- Oct 05, 2009
-
-
Douglas Gregor authored
assume that PCH files from different Clang revisions are not compatible. Addresses <rdar://problem/7266572>. llvm-svn: 83323
-
- Oct 01, 2009
-
-
Rafael Espindola authored
-fno-exceptions in C++ code. We used to always define __EXCEPTIONS in C++. llvm-svn: 83199
-
- Sep 29, 2009
-
-
Argyrios Kyrtzidis authored
llvm-svn: 83112
-
Argyrios Kyrtzidis authored
llvm-svn: 83097
-
Argyrios Kyrtzidis authored
llvm-svn: 83094
-
Argyrios Kyrtzidis authored
This is used only for keeping detailed type source information for protocol references, it should not participate in the semantics of the type system. Its protocol list is not canonicalized. llvm-svn: 83093
-
- Sep 26, 2009
-
-
Dan Gohman authored
createBitcodeWriterPass instead of the underlying raw_ostream. This avoids trouble with formatted_raw_ostream's behavior of setting the underlying stream to be unbuffered, which resulted in clang -emit-llvm -S using unbuffered output. llvm-svn: 82857
-
Ted Kremenek authored
avoid scanning for an "entry point" FunctionDecl if we (a) have no translation unit actions and (b) no entry point function has been specified. llvm-svn: 82846
-
Anders Carlsson authored
llvm-svn: 82827
-
- Sep 25, 2009
-
-
Anders Carlsson authored
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. llvm-svn: 82746
-
Anders Carlsson authored
llvm-svn: 82733
-
- Sep 24, 2009
-
-
John McCall authored
Type hierarchy. Demote 'volatile' to extended-qualifier status. Audit our use of qualifiers and fix a few places that weren't dealing with qualifiers quite right; many more remain. llvm-svn: 82705
-
Anders Carlsson authored
llvm-svn: 82703
-
- Sep 22, 2009
-
-
Daniel Dunbar authored
llvm-svn: 82526
-
Daniel Dunbar authored
llvm-svn: 82525
-
Daniel Dunbar authored
llvm-svn: 82514
-
John McCall authored
Several of the existing methods were identical to their respective specializations, and so have been removed entirely. Several more 'leaf' optimizations were introduced. The getAsFoo() methods which imposed extra conditions, like getAsObjCInterfacePointerType(), have been left in place. llvm-svn: 82501
-