| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
escape code.
llvm-svn: 188863
|
| |
|
|
|
|
|
| |
loop variable has a type containing 'auto', set the declaration to be invalid
(because we couldn't deduce its type) to prevent follow-on errors.
llvm-svn: 188853
|
| |
|
|
|
|
|
|
|
| |
We generally don't warn about extensions involving keywords reserved
for the implementation, so we shouldn't warn here either: the
standard doesn't require it, and it doesn't provide useful information
to the user.
llvm-svn: 188840
|
| |
|
|
|
|
|
|
|
|
|
| |
This adds the following as subgroups of -Wgnu: -Wgnu-alignof-expression,
-Wgnu-case-range, -Wgnu-complex-integer, -Wgnu-conditional-omitted-operand,
-Wgnu-empty-initializer, -Wgnu-label-as-value, -Wgnu-local-label,
and -Wgnu-statement-expression,
Patch by Peter Lewis.
llvm-svn: 188839
|
| |
|
|
|
|
| |
dumped for last declarations in the current TU. wip.
llvm-svn: 188838
|
| |
|
|
| |
llvm-svn: 188836
|
| |
|
|
|
|
|
| |
for an audited cf function to not include those
which are annotated by user.
llvm-svn: 188823
|
| |
|
|
|
|
| |
find one, then report the error as a missing import instead of as a typo.
llvm-svn: 188821
|
| |
|
|
|
|
|
|
|
| |
This moves the logic for handling -mfoo -mno-foo from the driver to -cc1. It
also changes -cc1 to apply the options in order, fixing pr16943.
The handling of -mno-mmx -msse is now an explicit special case.
llvm-svn: 188817
|
| |
|
|
|
|
|
| |
for an audited cf function and addition of
a test case.
llvm-svn: 188816
|
| |
|
|
|
|
|
|
| |
This time I managed to forget the test.
Patch still by Stephen Kelly.
llvm-svn: 188797
|
| |
|
|
|
|
| |
been working since r188331.
llvm-svn: 188790
|
| |
|
|
|
|
| |
been used with -integrated-as since r177360.
llvm-svn: 188789
|
| |
|
|
|
|
| |
they might work as expected since their first commit.
llvm-svn: 188788
|
| |
|
|
| |
llvm-svn: 188784
|
| |
|
|
| |
llvm-svn: 188764
|
| |
|
|
| |
llvm-svn: 188758
|
| |
|
|
| |
llvm-svn: 188757
|
| |
|
|
| |
llvm-svn: 188756
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
classes in TUs that do not have the vtable for that class""""
This reverts commit r188687 (reverts r188642 (reverts 188600 (reverts
188576))).
With added test coverage & fix for -gline-tables-only.
Thanks Michael Gottesman for reverting this patch when it demonstrated
problems & providing a reproduction/details to help me track this down.
llvm-svn: 188739
|
| |
|
|
|
|
|
|
|
|
| |
We previously mishandled UnresolvedUsingValueDecls in
NamedDecl::declarationReplaces, which caused us to forget decls
when there are multiple dependent using decls for the same name.
Fixes PR16936.
llvm-svn: 188737
|
| |
|
|
|
|
|
|
| |
Clang doesn't have a table mapping cl.exe to clang warnings. While some
warnings like -Wsign-compare exist in both compilers, the majority do
not correspond and should usually be ignored.
llvm-svn: 188732
|
| |
|
|
|
|
|
| |
This flag tells cl.exe to use up to n processes to compile the provided
source files. I have no plans to implement this in clang.
llvm-svn: 188729
|
| |
|
|
|
|
| |
Fixes PR16931.
llvm-svn: 188718
|
| |
|
|
|
|
| |
checking for missing parens in &&/|| expressions.
llvm-svn: 188716
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
TUs that do not have the vtable for that class"""
This reverts commit r188642.
This change is causing LTO builds to cause our 16 GB machines to swap and OOM
all weekend. I am going to work with Dave Blaikie to resolve the issue.
Sorry Dave =(.
llvm-svn: 188687
|
| |
|
|
|
|
|
| |
Originally committed in r188651, improved/fixed to be assert-neutral by
Takumi in r188661.
llvm-svn: 188686
|
| |
|
|
| |
llvm-svn: 188685
|
| |
|
|
| |
llvm-svn: 188683
|
| |
|
|
|
|
|
|
|
| |
This is still an alpha checker, but we use it in certain tests to make sure
something is not being executed.
This should fix the buildbots.
llvm-svn: 188682
|
| |
|
|
|
|
|
|
|
| |
This keeps the analyzer from making silly assumptions, like thinking
strlen(foo)+1 could wrap around to 0. This fixes PR16558.
Patch by Karthik Bhat!
llvm-svn: 188680
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This builtin does not actually evaluate its arguments for side effects,
so we shouldn't include them in the CFG. In the analyzer, rely on the
constant expression evaluator to get the proper semantics, at least for
now. (In the future, we could get ambitious and try to provide path-
sensitive size values.)
In theory, this does pose a problem for liveness analysis: a variable can
be used within the __builtin_object_size argument expression but not show
up as live. However, it is very unlikely that such a value would be used
to compute the object size and not used to access the object in some way.
<rdar://problem/14760817>
llvm-svn: 188679
|
| |
|
|
| |
llvm-svn: 188675
|
| |
|
|
|
|
|
|
| |
AFAIK, there are no -W options for gcc-as and gcc-ld.
It caused failure to build clang with gcc-4.7 on cygwin.
FIXME: Could we recategorize Options for gcc-as and gcc-ld?
llvm-svn: 188668
|
| |
|
|
| |
llvm-svn: 188667
|
| |
|
|
| |
llvm-svn: 188666
|
| |
|
|
|
|
| |
This is so aggregates can be passed as var args too.
llvm-svn: 188664
|
| |
|
|
| |
llvm-svn: 188663
|
| |
|
|
| |
llvm-svn: 188662
|
| |
|
|
| |
llvm-svn: 188661
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This change turns SanitizerArgs into high-level options
stored in the Driver, which are parsed lazily. This fixes an issue of multiple copies of the same diagnostic message produced by sanitizer arguments parser.
Reviewers: rsmith
Reviewed By: rsmith
CC: chandlerc, eugenis, cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1341
llvm-svn: 188660
|
| |
|
|
|
|
|
|
|
|
|
| |
Move C++-specific tests that were checking if we attach a base class comment to
a derived class to an existing test comment-to-html-xml-conversion.cpp. Note
that the original testing approach was not actually testing the class--comment
relationship. It only checked that we attached the comment *somewhere*.
The rest of subclass-comment.mm should be also moved elsewhere.
llvm-svn: 188658
|
| |
|
|
|
|
|
|
|
|
|
| |
comment-misc-tags.m is mostly about miscellaneous Doxygen tags. Move out tests
that check if the comment is attached to an ObjC decl. Because the exitsting
test for this is in C++ (annotate-comments.cpp), create a new test --
annotate-comments-objc.m.
The rest of comment-misc-tags.m should be also moved elsewhere.
llvm-svn: 188657
|
| |
|
|
|
|
| |
parameters of artificial functions
llvm-svn: 188651
|
| |
|
|
|
|
|
|
|
|
|
|
| |
do not have the vtable for that class""
This reverts commit r188600.
r188640/r188639 fixed the root cause of the crash-on-valid that r188600
originally introduced. This now appears to bootstrap debug clang
successfully to the best of my testing.
llvm-svn: 188642
|
| |
|
|
|
|
|
|
|
|
|
|
| |
creating their context
A partner to r188639, this is a somewhat heavy-handed fix to the general
issue, since even after that prior change the issue does still
unavoidably arise with template parameters (see test case).
There are other ways we could consider addressing this (see FIXME).
llvm-svn: 188640
|
| |
|
|
|
|
|
|
|
| |
Possible minor reduction in debug info & avoid some cases where creating
a context chain could lead to the type the context chain is being
created for, being created. (this is still possible with template
parameters - tests/fixes/improvements to follow)
llvm-svn: 188639
|
| |
|
|
|
|
|
|
|
|
| |
Fixes a crash-on-valid introduced by r188486 (which should've occurred
earlier but for a blatant bug where calling createFwdDecl from the
requireCompleteType callback was useless under -flimit-debug-info and we
were just getting lucky with other later callbacks requiring the type
anyway).
llvm-svn: 188622
|
| |
|
|
|
|
| |
enumeration type
llvm-svn: 188612
|
| |
|
|
|
|
|
|
| |
_mm256_broadcastsi128_si256 to align with the Intel documentation.
This fixes bug PR 16581 and rdar:14747994.
llvm-svn: 188609
|