| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 117786
|
|
|
|
|
|
|
|
|
|
| |
independently of whether they're definitions, then teach IR generation to
ignore non-explicit visibility when emitting declarations. Use this to
make sure that RTTI, vtables, and VTTs get the right visibility.
More of rdar://problem/8613093
llvm-svn: 117781
|
|
|
|
|
|
|
|
| |
whether it's a declaration or not, then ignores that information for
declarations unless it was explicitly given. It's not totally clear
how that should be mapped into a sane system, but make an effort.
llvm-svn: 117780
|
|
|
|
| |
llvm-svn: 117779
|
|
|
|
|
|
| |
Fixes PR8489.
llvm-svn: 117776
|
|
|
|
|
|
| |
PR8423
llvm-svn: 117775
|
|
|
|
| |
llvm-svn: 117770
|
|
|
|
|
|
|
|
|
| |
semantic error.
We already flag the error with InitListChecker's hadError and we mess up the AST unnecessarily.
Fixes rdar://8605381.
llvm-svn: 117760
|
|
|
|
| |
llvm-svn: 117759
|
|
|
|
| |
llvm-svn: 117758
|
|
|
|
|
|
|
|
| |
uninitialized field). This was
already fixed, but this serves for detecting regressions.
llvm-svn: 117754
|
|
|
|
|
|
|
|
|
| |
load identifiers without loading their corresponding macro
definitions. This is likely to improve PCH performance slightly, and
reduces deserialization stack depth considerably when using
preprocessor metaprogramming.
llvm-svn: 117750
|
|
|
|
|
|
|
|
| |
of descending into the subelements.
rdar://problem/8345836
llvm-svn: 117749
|
|
|
|
|
|
|
| |
eraseFromDisk does the same check. This avoids a stat call
in the common case.
llvm-svn: 117744
|
|
|
|
| |
llvm-svn: 117743
|
|
|
|
|
|
|
| |
methods in protocols when protocols are in system
headers and thus ignored. //rdar: //8227199
llvm-svn: 117739
|
|
|
|
|
|
|
|
|
| |
in asm's. PR 8501, 8602988.
I don't like including Type.h where it is; the idea was
to get references to X86_MMXTy out of the common code.
Maybe there's a better way?
llvm-svn: 117736
|
|
|
|
| |
llvm-svn: 117734
|
|
|
|
| |
llvm-svn: 117733
|
|
|
|
|
|
| |
the performance of C++ PCH and reducing stack depth in the reader.
llvm-svn: 117732
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for namespace-scope variable declarations.
Apply visibility in IR gen to variables that are merely declared
and never defined. We were previously emitting these with default
visibility unless they were declared with private_extern.
Ignore global visibility settings when computing visibility for
a declaration's context, and key several conditions on whether a
visibility attribute exists anywhere in the hierarchy as opposed
to whether it exists at the current level.
llvm-svn: 117729
|
|
|
|
| |
llvm-svn: 117723
|
|
|
|
| |
llvm-svn: 117711
|
|
|
|
|
|
| |
systems.
llvm-svn: 117697
|
|
|
|
|
|
|
| |
user error, fail gracefully. Fixes
pr8508.
llvm-svn: 117692
|
|
|
|
|
|
|
|
| |
protocols, including those added to class, super class
and categories; otherewise issue a warning. This fixes
pr8453.
llvm-svn: 117678
|
|
|
|
|
|
| |
This is tested by funcargs.exp in gdb testsuite.
llvm-svn: 117659
|
|
|
|
|
|
| |
Better performance and fixes rdar://8603569.
llvm-svn: 117656
|
|
|
|
|
|
| |
declared", it breaks things.
llvm-svn: 117653
|
|
|
|
|
|
| |
anyone has ever intentionally done this outside of a compiler test case.
llvm-svn: 117645
|
|
|
|
|
|
|
|
|
|
|
|
| |
and never defined. We were previously emitting these with default
visibility unless they were declared with private_extern.
Ignore global visibility settings when computing visibility for
a declaration's context, and key several conditions on whether a
visibility attribute exists anywhere in the hierarchy as opposed
to whether it exists at the current level.
llvm-svn: 117644
|
|
|
|
|
|
| |
statement.
llvm-svn: 117642
|
|
|
|
|
|
|
| |
This isn't used yet, because someone more experienced than I needs to look
at the type system about gutting getCanonicalCallConv().
llvm-svn: 117638
|
|
|
|
|
|
|
|
| |
false positives).
Fixes <rdar://problem/8601243>.
llvm-svn: 117635
|
|
|
|
| |
llvm-svn: 117634
|
|
|
|
|
|
|
| |
of its context without considering global settings like -fvisibility=hidden.
Fixes PR8492.
llvm-svn: 117628
|
|
|
|
| |
llvm-svn: 117618
|
|
|
|
|
|
| |
most level.
llvm-svn: 117613
|
|
|
|
|
|
|
|
| |
using the memory type; fixes an assert.
Fixes rdar://problem/8605032
llvm-svn: 117610
|
|
|
|
|
|
| |
effect.
llvm-svn: 117600
|
|
|
|
| |
llvm-svn: 117576
|
|
|
|
|
|
| |
Part 2 of rdar://problem/8595231
llvm-svn: 117567
|
|
|
|
| |
llvm-svn: 117561
|
|
|
|
|
|
|
|
| |
timers to be dumped whenever the ASTUnit is destroyed. Instead, just
print the time elapsed for each operation after we perform the
operation.
llvm-svn: 117550
|
|
|
|
| |
llvm-svn: 117541
|
|
|
|
|
|
| |
global, make them local to a decl.
llvm-svn: 117540
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the scope checker. With that done, turn an indirect goto into a
protected scope into a hard error; otherwise IR generation has to start
worrying about declarations not dominating their scopes, as exemplified
in PR8473.
If this really affects anyone, I can probably adjust this to only hard-error
on possible indirect gotos into VLA scopes rather than arbitrary scopes.
But we'll see how people cope with the aggressive change on the marginal
feature.
llvm-svn: 117539
|
|
|
|
|
|
|
|
| |
location before the
first one if the redeclaration comes from a friend decl.
llvm-svn: 117537
|
|
|
|
|
|
|
|
| |
DeclContext,
meaning we need to rewrite its name lookup table in a chained PCH.
llvm-svn: 117536
|
|
|
|
| |
llvm-svn: 117535
|