| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
their declaration.
Summary:
Refactor ArgumentAdaptativeMatcher matchers to remove the template from their declaration.
This facilitates dynamic registration. Change the registry code to use the regular overload resolution mechanism for adaptative matchers.
Reviewers: klimek
CC: cfe-commits, revane
Differential Revision: http://llvm-reviews.chandlerc.com/D1402
llvm-svn: 188560
|
| |
|
|
| |
llvm-svn: 188459
|
| |
|
|
|
|
|
|
| |
Also add some documentation.
Differential Revision: http://llvm-reviews.chandlerc.com/D1346
llvm-svn: 188403
|
| |
|
|
| |
llvm-svn: 188120
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
DataFlowSanitizer is a generalised dynamic data flow analysis.
Unlike other Sanitizer tools, this tool is not designed to detect a
specific class of bugs on its own. Instead, it provides a generic
dynamic data flow analysis framework to be used by clients to help
detect application-specific issues within their own code.
Differential Revision: http://llvm-reviews.chandlerc.com/D966
llvm-svn: 187925
|
| |
|
|
|
|
| |
-f(no-)?sanitize-blacklist flag
llvm-svn: 187871
|
| |
|
|
|
|
|
| |
This patch was created by Lawrence Crowl and reviewed in:
http://llvm-reviews.chandlerc.com/D963
llvm-svn: 187738
|
| |
|
|
|
|
| |
undefined element value to match IR capabilities.
llvm-svn: 187694
|
| |
|
|
|
|
|
|
|
| |
This allows the ObjFW runtime to correctly implement message forwarding
for messages which return a struct.
Patch by Jonathan Schleifer.
llvm-svn: 187174
|
| |
|
|
| |
llvm-svn: 187104
|
| |
|
|
|
|
|
|
| |
cxx_init_capture. "generalized" is neither descriptive nor future-proof. No
compatibility problems expected, since we've never advertised having this
feature.
llvm-svn: 187058
|
| |
|
|
| |
llvm-svn: 187055
|
| |
|
|
| |
llvm-svn: 187022
|
| |
|
|
|
|
|
|
|
|
|
|
| |
A class with a field of non-POD-for-layout type is not POD-for-layout.
This computation should not depend on whether the field is of POD type
in the language sense.
Fixes PR16537.
Patch by Josh Magee.
llvm-svn: 186741
|
| |
|
|
|
|
|
| |
1) clang++ must be used when linking C++ programs using -fsanitize=undefined, and
2) MSan can't be combined with TSan or ASan.
llvm-svn: 186711
|
| |
|
|
| |
llvm-svn: 186673
|
| |
|
|
| |
llvm-svn: 186672
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This adds three overloaded intrinsics to Clang:
T __builtin_arm_ldrex(const volatile T *addr)
int __builtin_arm_strex(T val, volatile T *addr)
void __builtin_arm_clrex()
The intent is that these do what users would expect when given most sensible
types. Currently, "sensible" translates to ints, floats and pointers.
llvm-svn: 186394
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Fixup the type traversal macros/matchers to specify the supported types.
Make the marshallers a little more generic to support any variadic function.
Update the doc script.
Reviewers: klimek
CC: cfe-commits, revane
Differential Revision: http://llvm-reviews.chandlerc.com/D1023
llvm-svn: 186340
|
| |
|
|
|
|
|
|
|
|
|
| |
& operator (ignoring any overloaded operator& for the type). The purpose of
this builtin is for use in std::addressof, to allow it to be made constexpr;
the existing implementation technique (reinterpret_cast to some reference type,
take address, reinterpert_cast back) does not permit this because
reinterpret_cast between reference types is not permitted in a constant
expression in C++11 onwards.
llvm-svn: 186053
|
| |
|
|
| |
llvm-svn: 186048
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
#if defined(__has_foo("X")) && __has_foo("X")
is not a correct way to portably use __has_foo, because it is expanded to
#if 0 && 0("X")
... which is ill-formed.
Also add a missing ')'.
llvm-svn: 186047
|
| |
|
|
|
|
|
|
|
|
|
| |
Add a debug checker that is useful to understand how the ExplodedGraph is
built; it can be triggered using the following command:
clang -cc1 -analyze -analyzer-checker=debug.ViewExplodedGraph my_program.c
A patch by Béatrice Creusillet!
llvm-svn: 184768
|
| |
|
|
| |
llvm-svn: 184611
|
| |
|
|
|
|
| |
the right polymorphic overload to use.
llvm-svn: 184558
|
| |
|
|
| |
llvm-svn: 184538
|
| |
|
|
| |
llvm-svn: 184518
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
checked-arithmetic in c.
This will enable users in security critical applications to perform
checked-arithmetic in a fast safe manner that is amenable to c.
Tests/an update to Language Extensions is included as well.
rdar://13421498.
llvm-svn: 184497
|
| |
|
|
|
|
|
| |
headers may be included from within the module, but not from outside
the module.
llvm-svn: 184471
|
| |
|
|
|
|
| |
Most of the tests contributed by Edwin Vane.
llvm-svn: 184427
|
| |
|
|
| |
llvm-svn: 184419
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
{add,sub} with carry for bytes.
I have had several people ask me about why this builtin was not available in
clang (since it seems like a logical conclusion). This patch implements said
builtins.
Relevant tests are included as well. I also updated the Clang language extension reference.
rdar://14192664.
llvm-svn: 184227
|
| |
|
|
| |
llvm-svn: 184148
|
| |
|
|
| |
llvm-svn: 183963
|
| |
|
|
| |
llvm-svn: 183640
|
| |
|
|
| |
llvm-svn: 183211
|
| |
|
|
|
|
| |
attempt to explain the difference between them.
llvm-svn: 182890
|
| |
|
|
|
|
|
| |
The ARM cycle-counter can be restricted by the operating system; it's
worth warning potential users of this issue.
llvm-svn: 182604
|
| |
|
|
| |
llvm-svn: 182294
|
| |
|
|
| |
llvm-svn: 182280
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: + improved handling of default style and predefined styles.
Reviewers: djasper, klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D813
llvm-svn: 182205
|
| |
|
|
|
|
| |
As asked for by Sean, putting the video into the docs.
llvm-svn: 182081
|
| |
|
|
| |
llvm-svn: 181798
|
| |
|
|
|
|
| |
completes the implementation of N3638.
llvm-svn: 181669
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: +updated ClangFormat.rst
Reviewers: djasper, klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D780
llvm-svn: 181617
|
| |
|
|
|
|
| |
Updated reference and unit tests.
llvm-svn: 181522
|
| |
|
|
|
|
| |
The namespaceDecl() ASTMatcher was added in r179027.
llvm-svn: 181519
|
| |
|
|
|
|
| |
As suggested by Dmitri Gribenko.
llvm-svn: 181433
|
| |
|
|
| |
llvm-svn: 181351
|
| |
|
|
|
|
|
|
|
| |
provisional C++1y support.
Add __has_feature and __has_extension checks for C++1y features (based on the provisional names from
the C++ features study group), and update documentation to match.
llvm-svn: 181342
|