- Jun 27, 2013
-
-
Richard Smith authored
side-effect is not sequenced before its value computation. Also fix a mishandling of ?: expressions where the condition is constant that was exposed by the tests for this. llvm-svn: 185035
-
David Majnemer authored
llvm-svn: 185029
-
Fariborz Jahanian authored
private ivars in class extensions and class @implementation. // rdar://14278560 llvm-svn: 185025
-
- Jun 26, 2013
-
-
Joerg Sonnenberger authored
Fixes -Werror bootstrap. llvm-svn: 185023
-
Aaron Ballman authored
Patch thanks to Robert Wilhelm. llvm-svn: 185022
-
David Majnemer authored
llvm-svn: 185021
-
Rafael Espindola authored
They are mostly duplicated and got out of sync during the PathV1 removal. We should factor the code somewhere, but for now a FIXME will do. llvm-svn: 185019
-
Eli Friedman authored
The old implementation of ms_struct in RecordLayoutBuilder was a complete mess: it depended on complicated conditionals which didn't really reflect the underlying logic, and placed a burden on users of the resulting RecordLayout. This commit rips out almost all of the old code, and replaces it with simple checks in RecordLayoutBuilder::LayoutBitField. This commit also fixes <rdar://problem/14252115>, a bug where class inheritance would cause us to lay out bitfields incorrectly. llvm-svn: 185018
-
Aaron Ballman authored
llvm-svn: 185014
-
Aaron Ballman authored
llvm-svn: 185013
-
Nico Weber authored
llvm-svn: 184972
-
Joey Gouly authored
llvm-svn: 184970
-
Reid Kleckner authored
This allows clang to parse the type_traits header in Visual Studio 2012, which is included widely in practice. This is a rework of r163022 by João Matos. The original patch broke preprocessing of gtest headers, which this patch addresses. Patch by Will Wilson! llvm-svn: 184968
-
NAKAMURA Takumi authored
clang/test/Driver/pth.c: Fix r184942, a regexp like "\\\\" is redundant here. Should be matched to single \ with '\\'. llvm-svn: 184952
-
Rafael Espindola authored
Instead of creating a temporary directory, remember the set of temporary files we create. llvm-svn: 184951
-
Rafael Espindola authored
llvm-svn: 184949
-
Rafael Espindola authored
llvm-svn: 184945
-
Rafael Espindola authored
llvm-svn: 184942
-
Aaron Ballman authored
llvm-svn: 184941
-
Rafael Espindola authored
llvm-svn: 184940
-
Rafael Espindola authored
llvm-svn: 184939
-
Rafael Espindola authored
llvm-svn: 184938
-
Rafael Espindola authored
llvm-svn: 184937
-
Rafael Espindola authored
llvm-svn: 184936
-
NAKAMURA Takumi authored
clang/test/lit.cfg: Tweak getClangBuiltinIncludeDir() not to expose dosish path separator on MSYS bash.exe, since r184774. $ bin/clang.exe -print-file-name=include e:/path/to/build/bin\..\lib\clang\3.4\include llvm-svn: 184930
-
Rafael Espindola authored
llvm-svn: 184922
-
Rafael Espindola authored
llvm-svn: 184921
-
Rafael Espindola authored
llvm-svn: 184918
-
Rafael Espindola authored
llvm-svn: 184915
-
Rafael Espindola authored
llvm-svn: 184913
-
Rafael Espindola authored
llvm-svn: 184912
-
Rafael Espindola authored
llvm-svn: 184911
-
Rafael Espindola authored
llvm-svn: 184909
-
Rafael Espindola authored
llvm-svn: 184908
-
Rafael Espindola authored
llvm-svn: 184907
-
Rafael Espindola authored
llvm-svn: 184906
-
Nico Weber authored
llvm-svn: 184905
-
Richard Smith authored
declaration. This PCH a little lazier, and breaks a deserialization cycle that causes crashes with modules enabled. llvm-svn: 184904
-
Faisal Vali authored
As noted by Richard in the post: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130624/082605.html, the following code should not add an entry into PendingLocalImplicitInstantiations, since local instantiations should only occur within the context of other instantiations: int foo(double y) { struct Lambda { template<class T> T operator()(T t) const { return t; }; } lambda; return lambda(y); } Hence the attached code does the following: 1) In MarkFunctionReferenced, check if ActiveInstantiations.size() is non-zero before adding to PendingLocalImplicitInstantiations. 2) In InstantiateFunctionDefinition, we swap out/in PendingLocalImplicitInstantiations so that only those pending local instantiations that are added during the instantiation of the current function are instantiated recursively. llvm-svn: 184903
-
Rafael Espindola authored
llvm-svn: 184902
-