- 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
-
Fariborz Jahanian authored
builtin function ambiguity. llvm-svn: 84289
-
Douglas Gregor authored
interface that can load those source-location entries on demand (from another PCH file). llvm-svn: 84287
-
John McCall authored
will be the keystone of converting existing rewrites to be rewrites on TypeLocs. llvm-svn: 84286
-
Fariborz Jahanian authored
candidate types in BuiltinCandidateTypeSet::AddPointerWithMoreQualifiedTypeVariants further trimming the overload candidate set. llvm-svn: 84281
-
- Oct 16, 2009
-
-
John McCall authored
core PCH reader/writer implementation files. llvm-svn: 84278
-
Ted Kremenek authored
Fix static analyzer crash due to recently add symbolic-value constant folding. The issue was falsely converting the constant value of the LHS of a '<<'/'>>' operation to the same APSInt value of the RHS. llvm-svn: 84269
-
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
-
Edward O'Callaghan authored
dynamic linker arg is incorrectly invoking gnu ld arg syntax instead of svr4 ld syntax in AuroraUX toolchain. llvm-svn: 84266
-
Fariborz Jahanian authored
FIXME in CGCXX.cpp that I would like Anders to take a look at. llvm-svn: 84265
-
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
-
Chris Lattner authored
patch by Zhanyong Wan! llvm-svn: 84259
-
Nuno Lopes authored
llvm-svn: 84255
-
Nuno Lopes authored
llvm-svn: 84254
-
Anders Carlsson authored
llvm-svn: 84245
-
Anders Carlsson authored
llvm-svn: 84242
-
Anders Carlsson authored
llvm-svn: 84241
-
Chris Lattner authored
llvm-svn: 84240
-
Anders Carlsson authored
llvm-svn: 84237
-
Anders Carlsson authored
llvm-svn: 84231
-
John Thompson authored
llvm-svn: 84227
-
Ted Kremenek authored
retain/release checker: Stop tracking reference counts for any symbols touched by StoreManager::InvalidateRegion(). This fixes <rdar://problem/7257223> and <rdar://problem/7283470>. llvm-svn: 84223
-
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
-
Anton Korobeynikov authored
llvm-svn: 84219
-
Douglas Gregor authored
llvm-svn: 84217
-
Douglas Gregor authored
CheckSpecializationInstantiationRedecl to check for redeclarations/instantiations. Also fixes a longstanding issue where our explicit-instantiation location information wasn't as good as it could have been. llvm-svn: 84216
-
Ted Kremenek authored
This fixes <rdar://problem/7306898> llvm-svn: 84213
-
Ted Kremenek authored
retain/release checker: Use simpler utility method for creating class method summaries. No functionality change. llvm-svn: 84210
-
Steve Naroff authored
llvm-svn: 84208
-
- Oct 15, 2009
-
-
Daniel Dunbar authored
isn't implemented yet. - <rdar://problem/7297571> Clang should use pretokenized headers for C++ PCH files llvm-svn: 84197
-
Douglas Gregor authored
llvm-svn: 84189
-
Douglas Gregor authored
instantiation redeclaration semantics for function template specializations and member functions of class template specializations. Also, record the point of instantiation for explicit-instantiated functions and static data members. llvm-svn: 84188
-
Fariborz Jahanian authored
sets of builtin operators. Currently, it is applied to '++' and '->*' operators. I need to apply it to others as well. Also, heuristics need be applied to BuiltinCandidateTypeSet::AddPointerWithMoreQualifiedTypeVariants. This is WIP. llvm-svn: 84187
-
Douglas Gregor authored
specializations. Work in progress; there's more cleanup required to actually use the new CheckSpecializationInstantiationRedecl checker uniformly. llvm-svn: 84185
-
Douglas Gregor authored
functions/static data members of class template specializations that do not have definitions. This is the latter part of [temp.explicit]p4; the former part still needs more testing. llvm-svn: 84182
-
Douglas Gregor authored
cases where an explicit instantiation requires a definition; the remainder of these checks will come with the implementation of paragraph 4 of [temp.explicit]. llvm-svn: 84181
-
Mike Stump authored
non-virtual part of the return result adjustments for covariant thunks. WIP. llvm-svn: 84178
-
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
-