| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 156005
|
|
|
|
|
|
|
| |
related to laying out ivar structs and accessing non-fragile-ivar
in more compilated cases. // rdar://11323187
llvm-svn: 156004
|
|
|
|
|
|
|
|
| |
TableGen-generated StringMatcher, for a 1.2% speedup in -fparse-only
time in <rdar://problem/11004361>. Thanks to Benjamin for pointing me
at StringMatcher!
llvm-svn: 156003
|
|
|
|
|
|
| |
be used by clang-tblgen.
llvm-svn: 156000
|
|
|
|
|
|
| |
we accept are not modeled somehow via Attr.td.
llvm-svn: 155998
|
|
|
|
|
|
|
|
|
| |
This avoids warnings when included in a application that
uses -Wstrict-prototypes.
e.g: AsmPrinters.def:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
llvm-svn: 155997
|
|
|
|
|
|
| |
by providing the latencies for the instructions in X86InstrFPStack.td.
llvm-svn: 155996
|
|
|
|
|
|
| |
as an AST node, and fold a number of such attributes into Attr.td.
llvm-svn: 155995
|
|
|
|
| |
llvm-svn: 155994
|
|
|
|
|
|
|
|
|
|
| |
Without the '<' prefix in the doxycomment these comments were incorrectly
attached to the proceeding comment on the next line, rather than the
preceeding one.
Fixes PR12722
llvm-svn: 155993
|
|
|
|
|
|
|
|
| |
The commit is intended to fix rdar://10961709.
But it is the root cause of PR12720.
Revert it for now.
llvm-svn: 155992
|
|
|
|
|
|
|
| |
and const (as "__const") using tblgen, rather than explicitly hacking
them in.
llvm-svn: 155991
|
|
|
|
|
|
|
|
|
|
|
| |
and disable it by default on more platforms.
For now -fno-math-errno is the default on BSD-derived platforms (Darwin,
DragonFlyBSD, FreeBSD, NetBSD, OpenBSD). If the default is not right for
your platform, please yell. I only verified the result with the default
compilers on Darwin and FreeBSD.
llvm-svn: 155990
|
|
|
|
|
|
| |
Benjamin has suggested a better approach.
llvm-svn: 155989
|
|
|
|
|
|
|
| |
we're looking at a normal token. Tiny positive impact -fsyntax-only
time for <rdar://problem/11004361>.
llvm-svn: 155988
|
|
|
|
|
|
|
| |
IdentifierInfo *) with a static StringMap, improving -fsyntax-only
performance by 1% for the example in <rdar://problem/11004361>.
llvm-svn: 155987
|
|
|
|
| |
llvm-svn: 155986
|
|
|
|
|
|
|
| |
methods. Use a weak value handle to keep up with this.
PR12245
llvm-svn: 155984
|
|
|
|
| |
llvm-svn: 155983
|
|
|
|
|
|
| |
for AsmPrinter.
llvm-svn: 155982
|
|
|
|
|
|
|
|
| |
-fpack-struct's handling has changed in CC1 (one of only two flags that needed changing) because the driver treats "-fpack-struct" as a boolean flag, and CC1 (did) treat it as an option with a separated value.
This change causes -fpack-struct=X to be forwarded correctly to -fpack-struct=X instead of erroneously to "-fpack-struct X"
llvm-svn: 155981
|
|
|
|
|
|
|
| |
allowed, and it'll blow up in unfortunate ways when using a proper
C++11 library.
llvm-svn: 155980
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that support for rvalue references does not imply support
for the full set of move-related STL operations.
I've preserved support for an odd little thing in insert() where
we're trying to support inserting a new element from an existing
one. If we actually want to support that, there's a lot more we
need to do: insert can call either grow or push_back, neither of
which is safe against this particular use pattern.
llvm-svn: 155979
|
|
|
|
| |
llvm-svn: 155978
|
|
|
|
| |
llvm-svn: 155977
|
|
|
|
|
|
| |
the MachO spec.
llvm-svn: 155976
|
|
|
|
|
|
|
| |
the parsing of such things appears to be a conforming extension, but it breaks
libstdc++4.7's std::pair.
llvm-svn: 155975
|
|
|
|
|
|
| |
Really just a wild stab in the dark.
llvm-svn: 155974
|
|
|
|
|
|
| |
to use "--" to terminate the options.
llvm-svn: 155973
|
|
|
|
|
|
|
|
|
|
|
| |
reverse track interesting
values through interesting expressions. This allows us to map from interesting values in a caller
to interesting values in a caller, thus recovering some precision in diagnostics lost from IPA.
Fixes <rdar://problem/11327497>
llvm-svn: 155971
|
|
|
|
|
|
|
|
| |
replace them with
includes of ClangUserExpression that were being errantly dragged in through same.
llvm-svn: 155970
|
|
|
|
|
|
|
|
|
| |
* Work around build failures due to gcc 4.2 bugs.
* Remove BodyIndexer::TraverseCXXOperatorCallExpr, which was not being called
prior to this change, and whose presence disables a RecursiveASTVisitor
stack space optimization after this change.
llvm-svn: 155969
|
|
|
|
|
|
| |
the project.
llvm-svn: 155968
|
|
|
|
|
|
|
|
|
|
| |
is not needed,
since we now run the condition in the StopInfoBreakpoint's PerformAction, and don't need
to refer it to another "continue". Actually, we haven't needed to do this for a year or
so, I just hadn't gotten around to deleting the dead wood.
llvm-svn: 155967
|
|
|
|
|
|
| |
warning.
llvm-svn: 155966
|
|
|
|
|
|
| |
of giving unhelpful errors about undeclared identifers and missing semicolons.
llvm-svn: 155965
|
|
|
|
| |
llvm-svn: 155964
|
|
|
|
| |
llvm-svn: 155963
|
|
|
|
|
|
|
| |
functions if they"
FAIL: Clang :: Index/index-many-call-ops.cpp
llvm-svn: 155962
|
|
|
|
|
|
|
|
| |
folding its one check into the normal path for checking overridden
Objective-C methods. Good for another 3.6% speedup on the test case in
<rdar://problem/11004361>.
llvm-svn: 155961
|
|
|
|
| |
llvm-svn: 155960
|
|
|
|
| |
llvm-svn: 155959
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
declared in a subclass has consistent parameter types with a method
having the same selector in a superclass performs a significant number
of lookups into the class hierarchy. In the example in
<rdar://problem/11004361>, we spend 4.7% of -fsyntax-only time in
these lookups.
Optimize away most of the calls to this routine
(Sema::CompareMethodParamsInBaseAndSuper) by first checking whether we
have ever seen *any* method with that selector (using the global
selector table). Since most selectors are unique, we can avoid the
cost of this name lookup in many cases, for a 3.3% speedup.
llvm-svn: 155958
|
|
|
|
| |
llvm-svn: 155957
|
|
|
|
| |
llvm-svn: 155956
|
|
|
|
|
|
| |
PR10799
llvm-svn: 155954
|
|
|
|
|
|
|
|
| |
<rdar://problem/11333367>.
While I'm here, fix source locations for other diagnostics related to property synthesis.
llvm-svn: 155953
|
|
|
|
| |
llvm-svn: 155952
|
|
|
|
|
|
|
| |
have been overridden in the derived class. Also, remove a non-functional
implementation of an incorrect optimization for ParenExprs.
llvm-svn: 155951
|
|
|
|
|
|
| |
twice. Fixes <rdar://problem/11212866>.
llvm-svn: 155950
|