| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 92153
|
|
|
|
|
|
| |
LLVM-Code-Symbols test.
llvm-svn: 92152
|
|
|
|
|
|
| |
here affects clang-on-clang.
llvm-svn: 92151
|
|
|
|
| |
llvm-svn: 92148
|
|
|
|
| |
llvm-svn: 92145
|
|
|
|
|
|
| |
halfway towards fixing PR5824.
llvm-svn: 92142
|
|
|
|
| |
llvm-svn: 92138
|
|
|
|
|
|
| |
the other overload better.
llvm-svn: 92136
|
|
|
|
| |
llvm-svn: 92134
|
|
|
|
|
|
| |
temporary stack twice. A little insurance against PR5867 surprising us again
llvm-svn: 92132
|
|
|
|
| |
llvm-svn: 92123
|
|
|
|
| |
llvm-svn: 92122
|
|
|
|
|
|
| |
Refine codegen for visibility and hidden. WIP.
llvm-svn: 92118
|
|
|
|
|
|
|
|
| |
This fixes throwing exceptions inside @catch blocks nested inside outer @try blocks and also fixes jumping from an inner @finally to an outer @finally (via any relevant @catch blocks).
The code exhibiting this bug was based on code from CGObjCMac. I believe that this bug may still be present on the Mac runtimes, although the test case in the bug contains a few GNUisms and won't compile without some minor tweaks with Apple's libobjc.
llvm-svn: 92117
|
|
|
|
| |
llvm-svn: 92109
|
|
|
|
| |
llvm-svn: 92072
|
|
|
|
| |
llvm-svn: 92069
|
|
|
|
|
|
|
|
| |
that this is true when mangling, then fix up the various places in
Sema and/or CodeGen that need to remove qualifiers. Addresses a
linking issue when building LLVM with Clang.
llvm-svn: 92064
|
|
|
|
| |
llvm-svn: 92057
|
|
|
|
|
|
| |
error_unsupported on test10 and crashed on test11.
llvm-svn: 92056
|
|
|
|
| |
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
|