| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 92030
|
|
|
|
|
|
|
| |
only takes a boolean second argument now. Update tests accordingly.
Currently the builtin still accepts the full range for compatibility.
llvm-svn: 91983
|
|
|
|
|
|
| |
avoid #including CharUnits.h in ASTContext.h.
llvm-svn: 91903
|
|
|
|
|
|
|
|
| |
correctly, giving them the correct arity.
With this seemingly insignificant fix, we are now able to build and link clang using clang itself! (LLVM still has to be built with gcc for the time being).
llvm-svn: 91893
|
|
|
|
|
|
|
|
| |
integer.
- This is consistent, but may not be correct. I will revisit x86_64 ABI handling for C++ as a whole at some point.
- PR5831.
llvm-svn: 91874
|
|
|
|
|
|
| |
since the context is available in the Decl
llvm-svn: 91862
|
|
|
|
|
|
|
|
|
| |
recursing in CGDebugInfo::CreateTypeNode, teach
CanonicalizeTypeForDebugInfo---now called UnwrapTypeForDebugInfo---to
keep unwrapping the type until we hit something that can be
represented by debug information. Thanks to Anders for pointing this out!
llvm-svn: 91840
|
|
|
|
|
|
|
|
| |
ElaboratedType, QualifiedNameType, and SubstTemplateTypeParmType type
nodes. Also, produce an "unsupported" diagnostic for C++0x type nodes
and "typeof" nodes, rather than asserting nondescriptly.
llvm-svn: 91837
|
|
|
|
| |
llvm-svn: 91805
|
|
|
|
|
|
| |
pointee is incomplete.
llvm-svn: 91804
|
|
|
|
|
|
| |
right linkage for indirect pointers to incomplete structs.
llvm-svn: 91799
|
|
|
|
|
|
|
| |
would have a higher respect for its own code. This is getting old, is this
warning really adding value?
llvm-svn: 91779
|
|
|
|
| |
llvm-svn: 91733
|
|
|
|
|
|
|
| |
the constructor. This doesn't handle cases requiring the VTT at the moment,
and generates unnecessary stores, but I think it's essentially correct.
llvm-svn: 91731
|
|
|
|
| |
llvm-svn: 91725
|
|
|
|
| |
llvm-svn: 91724
|
|
|
|
| |
llvm-svn: 91714
|
|
|
|
| |
llvm-svn: 91695
|
|
|
|
|
|
|
| |
new opaque value type, CharUnits. This will help us avoid accidentally mixing
quantities that are in bit and character units.
llvm-svn: 91689
|
|
|
|
|
|
|
| |
and getTypeSizeInChars() to reflect their basis in character type units, not
that of a possibly independent architecture-specific byte.
llvm-svn: 91688
|
|
|
|
| |
llvm-svn: 91687
|
|
|
|
|
|
| |
expressions.
llvm-svn: 91686
|
|
|
|
| |
llvm-svn: 91670
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
new InitializationSequence. This fixes some bugs (e.g., PR5808),
changed some diagnostics, and caused more churn than expected. What's
new:
- InitializationSequence now has a "C conversion sequence" category
and step kind, which falls back to
- Changed the diagnostics for returns to always have the result type
of the function first and the type of the expression second.
CheckSingleAssignmentConstraints to peform checking in C.
- Improved ASTs for initialization of return values. The ASTs now
capture all of the temporaries we need to create, but
intentionally do not bind the tempoary that is actually returned,
so that it won't get destroyed twice.
- Make sure to perform an (elidable!) copy of the class object that
is returned from a class.
- Fix copy elision in CodeGen to properly see through the
subexpressions that occur with elidable copies.
- Give "new" its own entity kind; as with return values and thrown
objects, we don't bind the expression so we don't call a
destructor for it.
Note that, with this patch, I've broken returning move-only types in
C++0x. We'll fix it later, when we tackle NRVO.
llvm-svn: 91669
|
|
|
|
|
|
|
|
| |
to compile a translation unit into the debug info for that file.
- Used by parts of Darwin build process to check compiler flags, etc.
- <rdar://problem/7256886> clang does not emit AT_APPLE_flags
llvm-svn: 91661
|
|
|
|
| |
llvm-svn: 91658
|
|
|
|
|
|
| |
takes a CXXRecordDecl since we were just creating a QualType from it anyway.
llvm-svn: 91590
|
|
|
|
| |
llvm-svn: 91588
|
|
|
|
| |
llvm-svn: 91585
|
|
|
|
| |
llvm-svn: 91583
|
|
|
|
| |
llvm-svn: 91573
|
|
|
|
|
|
|
| |
with a non-trivial default constructor, zero-initialize the storage
and then call the default constructor. Fixes PR5800.
llvm-svn: 91548
|
|
|
|
| |
llvm-svn: 91545
|
|
|
|
|
|
| |
With this change, we can now compile and link TableGen.
llvm-svn: 91520
|
|
|
|
| |
llvm-svn: 91519
|
|
|
|
| |
llvm-svn: 91507
|
|
|
|
|
|
| |
__builtin_unreachable. WIP.
llvm-svn: 91499
|
|
|
|
| |
llvm-svn: 91498
|
|
|
|
|
|
|
|
|
| |
non-existing 'isa' field of a non-existing struct type
all related to legacy type definition for 'id' which we have
dropped in clang in favor of a built-in type.
(fixes radar 7470820).
llvm-svn: 91455
|
|
|
|
| |
llvm-svn: 91450
|
|
|
|
|
|
|
|
|
| |
Remove isPod() from DenseMapInfo, splitting it out to its own
isPodLike type trait. This is a generally useful type trait for
more than just DenseMap, and we really care about whether something
acts like a pod, not whether it really is a pod.
llvm-svn: 91422
|
|
|
|
| |
llvm-svn: 91411
|
|
|
|
| |
llvm-svn: 91394
|
|
|
|
| |
llvm-svn: 91386
|
|
|
|
|
|
| |
-fcatch-undefined-behavior if we aren't optimizing. WIP.
llvm-svn: 91382
|
|
|
|
|
|
| |
instead of abort to improve codesize and codegen.
llvm-svn: 91374
|
|
|
|
| |
llvm-svn: 91347
|
|
|
|
| |
llvm-svn: 91341
|
|
|
|
|
|
| |
an Objective-C rethrow nested inside another try/catch block. (fixes radar 7466728).
llvm-svn: 91335
|
|
|
|
| |
llvm-svn: 91324
|