| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Formatting:
class C {
public:
f();
};
Now leads to:
class C {
public:
f();
};
llvm-svn: 192062
|
| |
|
|
|
|
| |
scan-build http://buildd-clang.debian.net/scan-build/
llvm-svn: 192061
|
| |
|
|
|
|
|
|
|
|
| |
In functions that only need to use the CGCXXABI member of a CodeGenTypes
class, pass that reference around directly rather than a reference to
a CodeGenTypes class.
This makes the actual dependence on CGCXXABI clear at the call sites.
llvm-svn: 192052
|
| |
|
|
|
|
| |
function instead of custom logic.
llvm-svn: 192050
|
| |
|
|
|
|
| |
it is enabled. Also enable it on the same architectures that GCC does.
llvm-svn: 192045
|
| |
|
|
| |
llvm-svn: 192043
|
| |
|
|
|
|
| |
way we can remove the intrinsic support from the backend.
llvm-svn: 192036
|
| |
|
|
| |
llvm-svn: 192034
|
| |
|
|
|
|
| |
Patch by Daniel Marjamäki!
llvm-svn: 192030
|
| |
|
|
| |
llvm-svn: 192029
|
| |
|
|
|
|
|
|
| |
that a function can be called in. This reduced the total number of annotations
needed and makes writing more complicated behaviour less burdensome.
Patch by chriswails@gmail.com.
llvm-svn: 191983
|
| |
|
|
|
|
|
|
| |
(assign/unsafe_unretained/weak/retain/strong/copy) in super class
to be overridden by a property with any explicit ownership in the
subclass. // rdar://15014468
llvm-svn: 191971
|
| |
|
|
|
|
|
|
| |
within templates and nested within themselves."
This reverts commit r191879. It caused llvm.org/pr17476.
llvm-svn: 191955
|
| |
|
|
|
|
|
|
| |
These IR instructions are undefined when the amount is equal to operand
size, but NEON right shifts support such shifts. Work around that by
emitting a different IR in these cases.
llvm-svn: 191953
|
| |
|
|
|
|
| |
general solution.
llvm-svn: 191951
|
| |
|
|
| |
llvm-svn: 191950
|
| |
|
|
|
|
|
|
|
| |
-static. So do not turn off the PIC flag if -static passed to the
driver in case of MIPS target.
http://llvm.org/bugs/show_bug.cgi?id=14693
llvm-svn: 191947
|
| |
|
|
| |
llvm-svn: 191945
|
| |
|
|
|
|
|
| |
Re-commit r191910 (reverted in r191936) with layering violation fixed, by
moving the bug categories to StaticAnalyzerCore instead of ...Checkers.
llvm-svn: 191937
|
| |
|
|
| |
llvm-svn: 191936
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 191900
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Reviewed at http://llvm-reviews.chandlerc.com/D1807
llvm-svn: 191878
|
| |
|
|
|
|
| |
why the buildbots are failing.
llvm-svn: 191876
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
backend changes.
An explicit cast is still needed in tbmintrin.h to convert any big integer down to i32imm.
Patch from Yunzhong Gao.
llvm-svn: 191872
|
| |
|
|
|
|
|
| |
enable them for distinct feature migration.
// rdar://15003157
llvm-svn: 191863
|
| |
|
|
|
|
| |
kind of migration. // rdar://15003157
llvm-svn: 191858
|
| |
|
|
|
|
|
| |
migrations under their own option.
wip and // rdar://15003157
llvm-svn: 191855
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 191846
|
| |
|
|
|
|
|
| |
processing in preparation for adding several more
options. // rdar://15003157
llvm-svn: 191842
|
| |
|
|
|
|
| |
Reviewed at http://llvm-reviews.chandlerc.com/D1795
llvm-svn: 191839
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 191817
|
| |
|
|
| |
llvm-svn: 191816
|
| |
|
|
| |
llvm-svn: 191809
|
| |
|
|
|
|
| |
when scalars are loaded / undergo lvalue-to-rvalue conversion.
llvm-svn: 191808
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 191798
|
| |
|
|
|
|
| |
that had 80-column violations. Remove spurious emacs mode markers on .cpp files.
llvm-svn: 191797
|
| |
|
|
|
|
|
|
| |
migration of headers which have become system headers by user having put
the .system_framework in the sdk directory.
// rdar://15066802
llvm-svn: 191796
|
| |
|
|
|
|
| |
The added a cmake invocation to null builds, making them a lot slower.
llvm-svn: 191784
|
| |
|
|
| |
llvm-svn: 191783
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|