| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
that occurs when
attribute(used) and asm renaming are used together.
llvm-svn: 68155
|
| |
|
|
| |
llvm-svn: 68151
|
| |
|
|
|
|
|
|
| |
- PR3875.
- <rdar://problem/6615249> [driver] ccc should support some form of
--help
llvm-svn: 68148
|
| |
|
|
|
|
| |
Also, removed default value for getOptionMetaVar.
llvm-svn: 68146
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the preprocessor.
- PR3602.
- As is inherent in the blanket forwarding options, this will only
work if clang-cc happens to accept what the user passed. Users by
and large should use driver options to interact with the
preprocessor, if at all possible.
llvm-svn: 68144
|
| |
|
|
|
|
| |
refactoring to make this possible (no functionality change).
llvm-svn: 68141
|
| |
|
|
| |
llvm-svn: 68140
|
| |
|
|
|
|
|
|
| |
- Currently unused.
And yes, now may be about the time I want a TableGen backend.
llvm-svn: 68139
|
| |
|
|
|
|
| |
- Current return-arguments-32 status: 15/1000 failures
llvm-svn: 68132
|
| |
|
|
|
|
|
|
|
|
|
| |
template template parameters and dependent template names. For
example, the oft-mentioned
typename MetaFun::template apply<T1, T2>::type
can now be instantiated, with the appropriate name lookup for "apply".
llvm-svn: 68128
|
| |
|
|
|
|
| |
Patch by David Chisnal.
llvm-svn: 68125
|
| |
|
|
| |
llvm-svn: 68122
|
| |
|
|
|
|
| |
- Patch by Ed Schouten!
llvm-svn: 68121
|
| |
|
|
|
|
|
|
| |
- Always pass -triple to clang-cc (-arch will be removed).
- clang-cc doesn't play guess work with the target triple anymore.
llvm-svn: 68119
|
| |
|
|
| |
llvm-svn: 68115
|
| |
|
|
|
|
|
|
| |
functionality change.
Changed GenerateConstantString() to take an ObjCStringLiteral (instead of a std::string). While this isn't strictly necessary, it seems cleaner and allows us to cache to "containsNonAscii" if necessary (to avoid checking in both Sema and CodeGen).
llvm-svn: 68114
|
| |
|
|
| |
llvm-svn: 68110
|
| |
|
|
| |
llvm-svn: 68107
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In a case like:
@class foo;
foo *P;
addRecordToClass was making an empty shadow struct for the foo interface and
completing it. Later when an:
@interface foo
...
@endif
foo *Q;
was seen, ASTContext::addRecordToClass would think that foo was already laid
out and not lay out the definition. This fixes it to create a forward declared
struct the first time around, then complete it when the definition is seen.
Note that this causes two tests to regress, because something is trying to get
the size of the forward declared structs returned by this. Previously, this
would end up getting a size of zero but now it properly dies. I'm not sure
what the right solution is for this, so I xfailed the tests.
Fariborz, please take a look at this. The testcase in rdar://6676794 now gets
farther, but dies later because the objc ivar is not assigned a field number.
As an aside, I really don't like the fact that the objc front-end is creating
shadow C structs for ObjC types. This seems like an implementation detail of
the code generator that could be fixed by better factoring of the extant code.
llvm-svn: 68106
|
| |
|
|
| |
llvm-svn: 68105
|
| |
|
|
|
|
|
| |
is run for perfectly reasonable things like NSString* because type
layout is recursive.
llvm-svn: 68104
|
| |
|
|
| |
llvm-svn: 68103
|
| |
|
|
| |
llvm-svn: 68102
|
| |
|
|
|
|
| |
Fix BuildAggrIvarLayout to not access vectors out of range.
llvm-svn: 68101
|
| |
|
|
| |
llvm-svn: 68098
|
| |
|
|
| |
llvm-svn: 68095
|
| |
|
|
| |
llvm-svn: 68094
|
| |
|
|
| |
llvm-svn: 68091
|
| |
|
|
|
|
|
| |
disable this feature for now, to err on the side of rejecting instead
of sometimes crashing. rdar://6326239
llvm-svn: 68088
|
| |
|
|
|
|
|
|
|
|
|
| |
within nested-name-specifiers, e.g., for the "apply" in
typename MetaFun::template apply<T1, T2>::type
At present, we can't instantiate these nested-name-specifiers, so our
testing is sketchy.
llvm-svn: 68081
|
| |
|
|
| |
llvm-svn: 68077
|
| |
|
|
|
|
|
|
| |
basic tests. Chris Goller has graciously offered to write some test to help validate UCN support.
From a front-end perspective, I believe this code should work for ObjC @-strings. At the moment, I believe we need to tweak the code generation for @-strings (which doesn't appear to handle them). Will be investigating.
llvm-svn: 68076
|
| |
|
|
| |
llvm-svn: 68075
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
representation handles the various ways in which one can name a
template, including unqualified references ("vector"), qualified
references ("std::vector"), and dependent template names
("MetaFun::template apply").
One immediate effect of this change is that the representation of
nested-name-specifiers in type names for class template
specializations (e.g., std::vector<int>) is more accurate. Rather than
representing std::vector<int> as
std::(vector<int>)
we represent it as
(std::vector)<int>
which more closely follows the C++ grammar.
Additionally, templates are no longer represented as declarations
(DeclPtrTy) in Parse-Sema interactions. Instead, I've introduced a new
OpaquePtr type (TemplateTy) that holds the representation of a
TemplateName. This will simplify the handling of dependent
template-names, once we get there.
llvm-svn: 68074
|
| |
|
|
|
|
| |
assume that @catch blocks are never executed.
llvm-svn: 68072
|
| |
|
|
|
|
| |
it. Will discuss offline whether symbolic regions should by typed or typeless.
llvm-svn: 68070
|
| |
|
|
| |
llvm-svn: 68069
|
| |
|
|
| |
llvm-svn: 68068
|
| |
|
|
| |
llvm-svn: 68063
|
| |
|
|
|
|
| |
- Patch by Ed Schouten!
llvm-svn: 68061
|
| |
|
|
|
|
| |
declaration. Reject it.
llvm-svn: 68058
|
| |
|
|
| |
llvm-svn: 68052
|
| |
|
|
|
|
| |
loc::SymbolVal/nonloc::SymbolVal probing.
llvm-svn: 68049
|
| |
|
|
|
|
|
| |
also makes this code more correct as it transparently handles SVals that wrapped
TypedViewRegions(SymbolicRegions).
llvm-svn: 68048
|
| |
|
|
|
|
|
| |
- <rdar://problem/6726511> [driver] clang does not have -msoft-float
hooked up.
llvm-svn: 68044
|
| |
|
|
|
|
| |
Patch by David Chisnall.
llvm-svn: 68043
|
| |
|
|
| |
llvm-svn: 68042
|
| |
|
|
|
|
| |
will be called for every expression in a basic block.
llvm-svn: 68041
|
| |
|
|
|
|
| |
Layer the type information with a TypedViewRegion on top of the SymbolicRegion.
llvm-svn: 68028
|
| |
|
|
|
|
|
|
| |
- Not particularly elegant, but my hand is forced by gcc.
Also, tweak -ccc-print-bindings output.
llvm-svn: 68027
|