- Oct 03, 2013
-
-
Rafael Espindola authored
With -### clang return 0, so we have to use FileCheck to see if there was an error. llvm-svn: 191923
-
Eric Christopher authored
llvm-svn: 191921
-
Eric Christopher authored
llvm-svn: 191917
-
Rafael Espindola authored
It looks like clang always produce code with the ieee comparisons, so it is safe to ignore this flag (we still error on -mno-ieee-fp). llvm-svn: 191912
-
Jordan Rose authored
One small functionality change is to bring the sizeof-pointer checker in line with the other checkers by making its category be "Logic error" instead of just "Logic". There should be no other functionality changes. Patch by Daniel Marjamäki! llvm-svn: 191910
-
Jordan Rose authored
This will emit a warning if a call to clang_analyzer_warnIfReached is executed, printing REACHABLE. This is a more explicit way to declare expected reachability than using clang_analyzer_eval or triggering a bug (divide-by-zero or null dereference), and unlike the former will work the same in inlined functions and top-level functions. Like the other debug helpers, it is part of the debug.ExprInspection checker. Patch by Jared Grubb! llvm-svn: 191909
-
Argyrios Kyrtzidis authored
llvm-svn: 191907
-
Argyrios Kyrtzidis authored
Patch by Che-Liang Chiou! llvm-svn: 191906
-
Tim Northover authored
Thought I'd checked that before llvm-svn: 191901
-
Tim Northover authored
llvm-svn: 191900
-
Matthew Curtis authored
We now emit warnings when doing so and code generation is consistent with GCC. Note that the C99 spec is unclear as to the precise behavior. See also ... Bug: http://llvm.org/bugs/show_bug.cgi?id=16644 and cfe-dev discussion: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-September/031918.html llvm-svn: 191890
-
Faisal Vali authored
Teach TreeTransform and family how to transform generic lambdas within templates and nested within themselves. This does not yet include capturing (that is next). Please see test file for examples. This patch was LGTM'd by Doug: http://llvm-reviews.chandlerc.com/D1784 http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130930/090048.html When I first committed this patch - a bunch of buildbots were unable to compile the code that VS2010 seemed to compile. Seems like there was a dependency on Sema/Template.h which VS did not seem to need, but I have now added for the other compilers. It still compiles on Visual Studio 2010 - lets hope the buildbots remain quiet (please!) llvm-svn: 191879
-
Timur Iskhodzhanov authored
Reviewed at http://llvm-reviews.chandlerc.com/D1807 llvm-svn: 191878
-
Faisal Vali authored
why the buildbots are failing. llvm-svn: 191876
-
Faisal Vali authored
Teach TreeTransform and family how to transform generic lambdas within templates and nested within themselves. This does not yet include capturing (that is next). Please see test file for examples. This patch was LGTM'd by Doug: http://llvm-reviews.chandlerc.com/D1784 llvm-svn: 191875
-
Craig Topper authored
An explicit cast is still needed in tbmintrin.h to convert any big integer down to i32imm. Patch from Yunzhong Gao. llvm-svn: 191872
-
Fariborz Jahanian authored
enable them for distinct feature migration. // rdar://15003157 llvm-svn: 191863
-
- Oct 02, 2013
-
-
Fariborz Jahanian authored
kind of migration. // rdar://15003157 llvm-svn: 191858
-
Fariborz Jahanian authored
migrations under their own option. wip and // rdar://15003157 llvm-svn: 191855
-
Mark Lacey authored
CodeGenTypes already has a reference to a CGCXXABI. Use this directly rather than going through CodeGenModule to get to the same information. This is consistent with other references to CGCXXABI in CodeGenTypes functions defined in CGCall.cpp. llvm-svn: 191854
-
Kaelyn Uhrain authored
llvm-svn: 191846
-
Fariborz Jahanian authored
processing in preparation for adding several more options. // rdar://15003157 llvm-svn: 191842
-
Timur Iskhodzhanov authored
Reviewed at http://llvm-reviews.chandlerc.com/D1795 llvm-svn: 191839
-
Reid Kleckner authored
This partially addresses PR17435, but it doesn't actually implement the pragma. If we implement it, we should map levels 1-4 to something like -Wall and level 0 to something like -w. llvm-svn: 191833
-
Daniel Jasper authored
Patch by Alp Toker. Many thanks! Original descriptions: clang-format-diff incorrectly modifies unchanged lines due to an error in diff parsing. The unified diff format has a default line change count of 1, and 0 may be specified to indicate that no lines have been added. This patch updates the parser to accurately reflect the diff specification. This also has the benefit of stabilising the operation so it will produce the same output when run multiple times on the same changeset, which was previously not the case. No tests added because this script is not currently tested (though we should look into that!) llvm-svn: 191820
-
Patrik Hagglund authored
llvm-svn: 191817
-
Joey Gouly authored
llvm-svn: 191816
-
Nick Lewycky authored
llvm-svn: 191809
-
Nick Lewycky authored
when scalars are loaded / undergo lvalue-to-rvalue conversion. llvm-svn: 191808
-
Jordan Rose authored
Also add some tests that there is actually a message and that the bug is actually a hard error. This actually behaved correctly before, because: - addTransition() doesn't actually add a transition if the new state is null; it assumes you want to propagate the predecessor forward and does nothing. - generateSink() is called in order to emit a bug report. - If at least one new node has been generated, the predecessor node is /not/ propagated forward. But now it's spelled out explicitly. Found by Richard Mazorodze, who's working on a patch that may require this. llvm-svn: 191805
-
Manman Ren authored
DW_TAG_pointer_type is updated to use DITypeRef. Paired commit with r191800. llvm-svn: 191801
-
Kaelyn Uhrain authored
llvm-svn: 191798
-
- Oct 01, 2013
-
-
Nick Lewycky authored
that had 80-column violations. Remove spurious emacs mode markers on .cpp files. llvm-svn: 191797
-
Fariborz Jahanian authored
migration of headers which have become system headers by user having put the .system_framework in the sdk directory. // rdar://15066802 llvm-svn: 191796
-
Rafael Espindola authored
The added a cmake invocation to null builds, making them a lot slower. llvm-svn: 191784
-
Warren Hunt authored
llvm-svn: 191783
-
Ariel J. Bernal authored
Replacements were no applied when using a compilation database with paths in the compilation command relative to the compile directory. This patch makes those paths abosulte. llvm-svn: 191776
-
Alexander Kornienko authored
Summary: Pure refactoring, should be no semantic changes. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D1796 llvm-svn: 191772
-
Tim Northover authored
llvm-svn: 191771
-
Tim Northover authored
This attribute allows users to use a modified C or C++ function as an ARM exception-handling function and, with care, to successfully return control to user-space after the issue has been dealt with. rdar://problem/14207019 llvm-svn: 191769
-