| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 84371
|
| |
|
|
| |
llvm-svn: 84370
|
| |
|
|
|
|
|
| |
initialization if any of the constructor/initialization arguments are
type-dependent. Fixes PR5224.
llvm-svn: 84365
|
| |
|
|
|
|
|
|
| |
mark the result as referenced.
The most important effect of this is that function templates only referenced by address expressions now get instantiated. This, in turn, means that Hello World compiles with the Apache stdcxx library even when using endl.
llvm-svn: 84363
|
| |
|
|
|
|
| |
Taking the address of an overloaded function with an explicit address-of operator wrapped the operator in an implicit cast that added yet another pointer level, leaving us with a corrupted AST, which crashed CodeGen in the test case I've added. Fix this by making FixOverloadedFunctionReference return whether there was an address-of operator and not adding the implicit cast in that case.
llvm-svn: 84362
|
| |
|
|
| |
llvm-svn: 84360
|
| |
|
|
|
|
| |
fixing PR4838.
llvm-svn: 84353
|
| |
|
|
|
|
| |
FinalizeDeclaratorGroup. Don't require them to have a complete type. This allows us to compile Hello World with the Apache stdcxx library. If you don't use endl, it even links and runs.
llvm-svn: 84347
|
| |
|
|
| |
llvm-svn: 84346
|
| |
|
|
| |
llvm-svn: 84343
|
| |
|
|
| |
llvm-svn: 84342
|
| |
|
|
| |
llvm-svn: 84341
|
| |
|
|
| |
llvm-svn: 84340
|
| |
|
|
| |
llvm-svn: 84339
|
| |
|
|
| |
llvm-svn: 84338
|
| |
|
|
|
|
|
| |
instead of getName.
- -2 FIXMEs.
llvm-svn: 84337
|
| |
|
|
|
|
| |
nothing) and into RemoveDeadBindings. No functionality change.
llvm-svn: 84335
|
| |
|
|
|
|
|
|
| |
so that we catch any macros used within the declarations and types.
Also, properly store a NULL selector.
llvm-svn: 84334
|
| |
|
|
| |
llvm-svn: 84329
|
| |
|
|
|
|
|
| |
the code to standard worklist algorithm. Always add both sub and super
regions of live regions.
llvm-svn: 84323
|
| |
|
|
|
|
| |
values that are constrained to be a constant.
llvm-svn: 84320
|
| |
|
|
|
|
| |
kinds. This means we are visiting all regions 'from super region'.
llvm-svn: 84319
|
| |
|
|
|
|
|
|
| |
annotation token.
- I'm not sure what the best thing to print is, for now we just print the token
location and 'at annotation token'.
llvm-svn: 84312
|
| |
|
|
|
|
| |
anymore. In C++ it is bool.
llvm-svn: 84308
|
| |
|
|
| |
llvm-svn: 84307
|
| |
|
|
| |
llvm-svn: 84301
|
| |
|
|
|
|
|
|
|
|
|
| |
created ASTContext to use
its own BumpPtrAllocator to allocate ASTs.
Change clang_createTranslationUnit (CIndex) to pass 'UseBumpPtrAllocator = true' to
ASTUnit::LoadFromPCHFile().
llvm-svn: 84296
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
builtin function ambiguity.
llvm-svn: 84289
|
| |
|
|
|
|
|
| |
interface that can load those source-location entries on demand (from
another PCH file).
llvm-svn: 84287
|
| |
|
|
|
|
| |
will be the keystone of converting existing rewrites to be rewrites on TypeLocs.
llvm-svn: 84286
|
| |
|
|
|
|
|
| |
candidate types in BuiltinCandidateTypeSet::AddPointerWithMoreQualifiedTypeVariants
further trimming the overload candidate set.
llvm-svn: 84281
|
| |
|
|
|
|
| |
core PCH reader/writer implementation files.
llvm-svn: 84278
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
ld syntax in AuroraUX toolchain.
llvm-svn: 84266
|
| |
|
|
|
|
|
| |
FIXME in CGCXX.cpp that I would like Anders to
take a look at.
llvm-svn: 84265
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
patch by Zhanyong Wan!
llvm-svn: 84259
|
| |
|
|
| |
llvm-svn: 84255
|
| |
|
|
| |
llvm-svn: 84254
|
| |
|
|
| |
llvm-svn: 84245
|
| |
|
|
|
|
| |
CheckCastTypes.
llvm-svn: 84242
|
| |
|
|
| |
llvm-svn: 84241
|
| |
|
|
| |
llvm-svn: 84240
|
| |
|
|
| |
llvm-svn: 84237
|
| |
|
|
| |
llvm-svn: 84231
|
| |
|
|
| |
llvm-svn: 84227
|
| |
|
|
|
|
|
|
| |
touched by StoreManager::InvalidateRegion().
This fixes <rdar://problem/7257223> and <rdar://problem/7283470>.
llvm-svn: 84223
|
| |
|
|
|
|
|
|
|
|
| |
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
|