- Oct 31, 2010
-
-
Anders Carlsson authored
llvm-svn: 117873
-
Nick Lewycky authored
llvm-svn: 117871
-
Anders Carlsson authored
Baby steps towards using only CharUnits for base class offsets in ASTRecordLayout. Start by storing the offsets in CharUnits in the ASTRecordLayout object. llvm-svn: 117869
-
Anders Carlsson authored
Teach the constant expr evaluator about derived-to-base casts when no virtual bases are involved. Fixes PR5974. llvm-svn: 117868
-
Zhanyong Wan authored
Make Clang static analyzer skip function template definitions. This fixes Clang PR 8426, 8427, & 8433. Reviewed by Ted Kremenek and Doug Gregor. llvm-svn: 117853
-
Anders Carlsson authored
llvm-svn: 117850
-
- Oct 30, 2010
-
-
Argyrios Kyrtzidis authored
As a bonus, avoids a crash on the IRGen side due to accepting invalid code. llvm-svn: 117842
-
Daniel Dunbar authored
llvm-svn: 117829
-
John McCall authored
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
-
John McCall authored
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
-
Benjamin Kramer authored
llvm-svn: 117779
-
Nick Lewycky authored
Fixes PR8489. llvm-svn: 117776
-
Chris Lattner authored
PR8423 llvm-svn: 117775
-
Douglas Gregor authored
llvm-svn: 117770
-
Argyrios Kyrtzidis authored
We already flag the error with InitListChecker's hadError and we mess up the AST unnecessarily. Fixes rdar://8605381. llvm-svn: 117760
-
Douglas Gregor authored
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
-
John McCall authored
of descending into the subelements. rdar://problem/8345836 llvm-svn: 117749
-
Dan Gohman authored
eraseFromDisk does the same check. This avoids a stat call in the common case. llvm-svn: 117744
-
Dale Johannesen authored
llvm-svn: 117743
-
Fariborz Jahanian authored
methods in protocols when protocols are in system headers and thus ignored. //rdar: //8227199 llvm-svn: 117739
-
Dale Johannesen authored
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
-
Dan Gohman authored
llvm-svn: 117734
-
Douglas Gregor authored
the performance of C++ PCH and reducing stack depth in the reader. llvm-svn: 117732
-
John McCall authored
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
-
- Oct 29, 2010
-
-
Rafael Espindola authored
systems. llvm-svn: 117697
-
Fariborz Jahanian authored
user error, fail gracefully. Fixes pr8508. llvm-svn: 117692
-
Fariborz Jahanian authored
protocols, including those added to class, super class and categories; otherewise issue a warning. This fixes pr8453. llvm-svn: 117678
-
Devang Patel authored
This is tested by funcargs.exp in gdb testsuite. llvm-svn: 117659
-
Argyrios Kyrtzidis authored
Better performance and fixes rdar://8603569. llvm-svn: 117656
-
Daniel Dunbar authored
declared", it breaks things. llvm-svn: 117653
-
John McCall authored
anyone has ever intentionally done this outside of a compiler test case. llvm-svn: 117645
-
John McCall authored
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
-
Marcin Swiderski authored
llvm-svn: 117642
-
Charles Davis authored
This isn't used yet, because someone more experienced than I needs to look at the type system about gutting getCanonicalCallConv(). llvm-svn: 117638
-
Ted Kremenek authored
Fixes <rdar://problem/8601243>. llvm-svn: 117635
-
John McCall authored
of its context without considering global settings like -fvisibility=hidden. Fixes PR8492. llvm-svn: 117628
-
Devang Patel authored
llvm-svn: 117613
-
- Oct 28, 2010
-
-
John McCall authored
using the memory type; fixes an assert. Fixes rdar://problem/8605032 llvm-svn: 117610
-
Daniel Dunbar authored
llvm-svn: 117600
-
Devang Patel authored
llvm-svn: 117576
-