| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 107915
|
| |
|
|
|
|
|
| |
created via T() where T is a class type. Reviewed by chandlerc and
csilvers.
llvm-svn: 107911
|
| |
|
|
|
|
|
| |
priority as other constants. And, if we're in a place where we prefer
a pointer type, consider "nil" and "NULL" to be close matches.
llvm-svn: 107910
|
| |
|
|
|
|
| |
either integer values or other pointers. Fixes <rdar://problem/8134521>.
llvm-svn: 107905
|
| |
|
|
|
|
| |
involving operator precedence.)
llvm-svn: 107902
|
| |
|
|
|
|
|
| |
Patch by Alexander Kabaev.
PR 7595.
llvm-svn: 107900
|
| |
|
|
| |
llvm-svn: 107897
|
| |
|
|
|
|
|
| |
a template, be sure to include the template arguments from the
injected-class-name. Fixes PR7587.
llvm-svn: 107895
|
| |
|
|
| |
llvm-svn: 107893
|
| |
|
|
|
|
|
|
|
| |
ReadDeclRecord when initializing.
ReadDeclRecord would hit assertion if the translation unit declaration was already loaded during
IdentifierInfo initialization.
llvm-svn: 107885
|
| |
|
|
| |
llvm-svn: 107884
|
| |
|
|
|
|
| |
ExtWarn to an Extension. Let the broken code propagate!
llvm-svn: 107875
|
| |
|
|
|
|
| |
surprised.
llvm-svn: 107874
|
| |
|
|
|
|
|
|
|
| |
invalid because some decls that the
calculation is using may still be initializing.
Thus, store the isDependent flag to PCH and restore directly to Type.
llvm-svn: 107873
|
| |
|
|
| |
llvm-svn: 107872
|
| |
|
|
| |
llvm-svn: 107871
|
| |
|
|
| |
llvm-svn: 107870
|
| |
|
|
|
|
|
|
|
|
|
| |
list in a diagnostic group so it can be turned on and off. A terrifying amount
of code, including large chunks of open source code, still do this so it's
important to be able to suppress it when necessary.
Doug, is this a reasonable compromise? I'd lean toward making it a normal
extension, but I don't feel strongly as long as we can turn the warnings off.
llvm-svn: 107865
|
| |
|
|
|
|
|
|
| |
unknown attributes that we discard. Add a diagnostic group for unknown
attribute warnings to allow turning these off when we don't care. Also
consolidates the tests for this case.
llvm-svn: 107864
|
| |
|
|
| |
llvm-svn: 107863
|
| |
|
|
|
|
| |
as well.
llvm-svn: 107858
|
| |
|
|
|
|
| |
suppressing copies of objects with trivial copy constructors.
llvm-svn: 107857
|
| |
|
|
| |
llvm-svn: 107845
|
| |
|
|
|
|
|
|
|
|
|
| |
was not producing a memcpy with the right address
spaces because of two places in it doing casts of
the arguments to i8, one of which that didn't
preserve the address space.
There is also an optimizer bug here.
llvm-svn: 107842
|
| |
|
|
| |
llvm-svn: 107841
|
| |
|
|
| |
llvm-svn: 107838
|
| |
|
|
|
|
| |
breaking bootstrap on Linux.
llvm-svn: 107837
|
| |
|
|
| |
llvm-svn: 107836
|
| |
|
|
|
|
| |
is still in flux and unclear, and our interim workaround was broken. Fixes PR7467.
llvm-svn: 107835
|
| |
|
|
|
|
|
|
| |
typedefs won't have the same canonical declaration (since they are
distinct), so we need to check for this case specifically. Fixes
<rdar://problem/8018262>.
llvm-svn: 107833
|
| |
|
|
|
|
| |
newly-narrowed scope. No functionality change.
llvm-svn: 107828
|
| |
|
|
|
|
|
|
|
| |
CXXConstructExpr/CXXTemporaryObjectExpr/CXXNewExpr as
appropriate. Fixes PR7556, and provides a slide codegen improvement
when copy-initializing a POD class type from a value-initialized
temporary. Previously, we weren't eliding the copy.
llvm-svn: 107827
|
| |
|
|
| |
llvm-svn: 107824
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
VisitFooTypeLoc() calls VisitFooType(); now, TraverseFooTypeLoc()
calls WalkUpFromFooType(). This allows clients that override
WalkUpFromFooType() to continue to work. It also preserves the
property that Visit*() in the base visitor class is a no-op (s.t. a
subclass doesn't have to call Base::Visit*() when overriding
Visit*()).
Also fixes some typos in comments.
Also added a missing getDerived() inside
TraverseQualifiedTypeLoc(). The call is needed in case a subclass
overrides TraverseTypeLoc().
Reviewed by nlewycky and csilvers.
llvm-svn: 107816
|
| |
|
|
|
|
| |
BumpPtrAllocator
llvm-svn: 107790
|
| |
|
|
|
|
| |
from PR7583
llvm-svn: 107788
|
| |
|
|
| |
llvm-svn: 107784
|
| |
|
|
|
|
|
|
| |
in recursive loading and the
declarations are fully initialized.
llvm-svn: 107783
|
| |
|
|
| |
llvm-svn: 107773
|
| |
|
|
| |
llvm-svn: 107772
|
| |
|
|
|
|
|
|
| |
This has 2 (slight) advantages:
-Make explicit at getBody()'s callsite that we expect/handle only CompoundStmt and not CXXTryStmt.
-Better tracking of Decl::getBody()'s callsites.
llvm-svn: 107771
|
| |
|
|
| |
llvm-svn: 107770
|
| |
|
|
| |
llvm-svn: 107769
|
| |
|
|
|
|
|
|
| |
of getBody() when we are just checking the existence of a body, to avoid de-serialization of the body from PCH.
Makes de-serialization of the function body even more "lazier".
llvm-svn: 107768
|
| |
|
|
|
|
| |
the buffer arguments and have a special-case for when the buffer arguments are known to be the same address, or when the size is zero.
llvm-svn: 107761
|
| |
|
|
| |
llvm-svn: 107760
|
| |
|
|
|
|
| |
arguments...which are allowed if the access length is 0!
llvm-svn: 107759
|
| |
|
|
|
|
| |
rethrow. Fixes rdar://problem/7696603
llvm-svn: 107757
|
| |
|
|
|
|
|
|
| |
people seem to write when they want a deterministic trap.
Suggest instead that they use a volatile pointer or
__builtin_trap.
llvm-svn: 107756
|
| |
|
|
|
|
| |
Fixes rdar://problem/8154689
llvm-svn: 107755
|