- Feb 07, 2013
-
-
Michael J. Spencer authored
llvm-svn: 174592
-
Owen Anderson authored
llvm-svn: 174591
-
Michael J. Spencer authored
llvm-svn: 174590
-
Michael J. Spencer authored
This removes Target and moves the functionality it had over to TargetInfo. This also simplifies LinkerInput by removing the InputKind. This will be handled elsewhere. llvm-svn: 174589
-
Owen Anderson authored
llvm-svn: 174588
-
Sean Silva authored
llvm-svn: 174587
-
Nadav Rotem authored
llvm-svn: 174586
-
Nadav Rotem authored
llvm-svn: 174585
-
Nick Lewycky authored
operators. llvm-svn: 174584
-
Reed Kotler authored
For example, when we are doing mips16 hard float or soft float. llvm-svn: 174583
-
Sean Silva authored
A double inclusion will pretty much always be an error in TableGen, so there's no point going on just to die with "def already defined" or whatnot. I'm not too thrilled about the "public: ... private: ..." to expose the DependenciesMapTy, but I really didn't see a better way to keep that type centralized. It's a smell that indicates that some refactoring is needed to make this code more loosely coupled. This should avoid all bugs of the same nature as PR15189. llvm-svn: 174582
-
Michael Gottesman authored
1. Moved a comment from ObjCARCOpts.cpp -> ObjCARCContract.cpp. 2. Removed a comment from ObjCARCOpts.cpp that was already moved to ObjCARCAliasAnalysis.h/.cpp. llvm-svn: 174581
-
Reed Kotler authored
llvm-svn: 174580
-
-
Greg Clayton authored
Fixed an bug found by running LLDB with the address sanitizer! We were accessing one past the end of the buffer. llvm-svn: 174578
-
Richard Smith authored
name lookup has been performed in that context (this probably only happens in C++). 1) Whenever we add names to a context, set a flag on it, and if we perform lookup and discover that the context has had a lookup table built but has the flag set, update all entries in the lookup table with additional names from the external source. 2) When marking a DeclContext as having external visible decls, mark the context in which lookup is performed, not the one we are adding. These won't be the same if we're adding another copy of a pre-existing namespace. llvm-svn: 174577
-
Richard Smith authored
if it found any decls, rather than returning a list of found decls. This removes a returning-ArrayRef-to-deleted-storage bug from MultiplexExternalSemaSource (in code not exercised by any of the clang binaries), reduces the work required in the found-no-decls case with PCH, and importantly removes the need for DeclContext::lookup to be reentrant. No functionality change intended! llvm-svn: 174576
-
Alexander Kornienko authored
-Wimplicit-fallthrough: fixed two cases where "fallthrough annotation in unreachable code" was issued incorrectly. Summary: -Wimplicit-fallthrough: fixed two cases where "fallthrough annotation in unreachable code" was issued incorrectly: 1. In actual unreachable code, but not immediately on a fall-through execution path "fallthrough annotation does not directly precede switch label" is better; 2. After default: in a switch with covered enum cases. Actually, these shouldn't be treated as unreachable code for our purpose. Reviewers: rsmith Reviewed By: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D374 llvm-svn: 174575
-
NAKAMURA Takumi authored
FIXME: Are they really truncated to i32 from i64 unconditionally? llvm-svn: 174574
-
Fariborz Jahanian authored
metadata to handle ivar bitfields. This is wip. // rdar://13138459 llvm-svn: 174573
-
Michael J. Spencer authored
llvm-svn: 174572
-
Michael Ilseman authored
llvm-svn: 174571
-
Richard Smith authored
indicate the semantic DC if it's not the lexical DC. In passing, correct the ascii-art child marker for a child of a FriendDecl. llvm-svn: 174570
-
Michael Ilseman authored
llvm-svn: 174569
-
Michael J. Spencer authored
llvm-svn: 174568
-
Douglas Gregor authored
Be a little more permissive with -fmodules-ignore-macro= by removing everything after the second '=' if it is there. llvm-svn: 174567
-
Michael J. Spencer authored
llvm-svn: 174566
-
Richard Smith authored
llvm-svn: 174565
-
Owen Anderson authored
Fix CMake detection of various cmath functions, and XFAIL the test on platforms that are known to be missing them. llvm-svn: 174564
-
Daniel Dunbar authored
- This updates the build script to match the change originally in r149634, so that we re-export symbols from libc++abi appropriately. llvm-svn: 174563
-
Daniel Dunbar authored
llvm-svn: 174562
-
Owen Anderson authored
Conditionalize constant folding of math intrinsics on the availability of an implementation on the host. This is a little bit unfortunate, but until someone decides to implement a full libm for APFloat, we don't have a better way to get this functionality. llvm-svn: 174561
-
Douglas Gregor authored
The use of this flag enables a modules optimization where a given set of macros can be labeled as "ignored" by the modules system. Definitions of those macros will be completely ignored when building the module hash and will be stripped when actually building modules. The overall effect is that this flag can be used to drastically reduce the number of Eventually, we'll want modules to tell us what set of macros they respond to (the "configuration macros"), and anything not in that set will be excluded. However, that requires a lot of per-module information that must be accurate, whereas this option can be used more readily. Fixes the rest of <rdar://problem/13165109>. llvm-svn: 174560
-
Nico Weber authored
Slightly expand the boxed expressions test with a few more snippets from http://clang.llvm.org/docs/ObjectiveCLiterals.html llvm-svn: 174559
-
Greg Clayton authored
llvm-svn: 174558
-
Sean Callanan authored
if it encountered bad debug information. This debug information had an Objective-C method whose selector disagreed with the true number of arguments to that method. <rdar://problem/12992864> llvm-svn: 174557
-
- Feb 06, 2013
-
-
Greg Clayton authored
llvm-svn: 174556
-
Owen Anderson authored
Signficantly generalize our ability to constant fold floating point intrinsics, including ones on half types. llvm-svn: 174555
-
Douglas Gregor authored
This can happen when one abuses precompiled headers by passing more -D options when using a precompiled hedaer than when it was built. This is intentionally permitted by precompiled headers (and is exploited by some build environments), but causes problems for modules. First part of <rdar://problem/13165109>, detecting when something when horribly wrong. llvm-svn: 174554
-
Eli Bendersky authored
llvm-svn: 174553
-