nik added a comment.
Do I miss something? I've uploaded a new diff/version and state is still "(X)
Requested Changes to Prior Diff".
Waiting for review.
Repository:
rC Clang
https://reviews.llvm.org/D45815
___
cfe-commits mailing list
cfe-commi
yvvan added a comment.
Ping
https://reviews.llvm.org/D41537
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ioeric added a comment.
Friendly ping.
Repository:
rC Clang
https://reviews.llvm.org/D46180
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
EricWF added inline comments.
Comment at: lib/Sema/SemaDeclCXX.cpp:8931
+ /*ConstArg*/ true, false, false, false, false);
+ auto *CopyCtor = cast_or_null(SMI.getMethod());
+
rjmccall wrote:
> Sorry, I didn't realize you'd go off and writ
This revision was automatically updated to reflect the committed changes.
Closed by commit rC331504: [Driver] Don't warn about unused inputs in
config files (authored by mstorsjo, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D46286
Files:
lib/Driver/Driver.cpp
test/Driver
Author: mstorsjo
Date: Thu May 3 23:05:58 2018
New Revision: 331504
URL: http://llvm.org/viewvc/llvm-project?rev=331504&view=rev
Log:
[Driver] Don't warn about unused inputs in config files
This avoids warnings about unused linker parameters, just like
other flags are ignored if they're from con
rjmccall added inline comments.
Comment at: lib/Sema/SemaDeclCXX.cpp:8931
+ /*ConstArg*/ true, false, false, false, false);
+ auto *CopyCtor = cast_or_null(SMI.getMethod());
+
Sorry, I didn't realize you'd go off and write this code manu
EricWF planned changes to this revision.
EricWF marked 7 inline comments as done.
EricWF added inline comments.
Comment at: include/clang/ASTMatchers/ASTMatchers.h:5262-5266
+AST_MATCHER(Type, unaryTransformType) {
+ if (const auto *T = Node.getAs())
+return T->getNumArgs()
sepavloff accepted this revision.
sepavloff added a comment.
With additional changes the fix is OK.
LGTM.
https://reviews.llvm.org/D46286
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
jdenny added inline comments.
Comment at: lib/AST/DeclPrinter.cpp:180-181
if (isFirst) {
- if(TD)
-SubPolicy.IncludeTagDefinition = true;
+ if (TD)
+SubPolicy.TagSpecifierAs = TD;
SubPolicy.SuppressSpecifiers = false;
rsmith
Wizard marked 3 inline comments as done.
Wizard added inline comments.
Comment at: test/clang-tidy/objc-property-declaration.m:24
@property(assign, nonatomic) int enableGLAcceleration;
+@property(assign, nonatomic) int ID;
@end
benhamilton wrote:
> Please add a
Wizard updated this revision to Diff 145145.
Wizard added a comment.
resolve comments
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D46374
Files:
clang-tidy/objc/PropertyDeclarationCheck.cpp
test/clang-tidy/objc-property-declaration-custom.m
test/clang-tidy/objc-property-
rsmith added inline comments.
Comment at: lib/AST/DeclPrinter.cpp:180-181
if (isFirst) {
- if(TD)
-SubPolicy.IncludeTagDefinition = true;
+ if (TD)
+SubPolicy.TagSpecifierAs = TD;
SubPolicy.SuppressSpecifiers = false;
rsmith
rsmith added inline comments.
Comment at: lib/AST/DeclPrinter.cpp:180-181
if (isFirst) {
- if(TD)
-SubPolicy.IncludeTagDefinition = true;
+ if (TD)
+SubPolicy.TagSpecifierAs = TD;
SubPolicy.SuppressSpecifiers = false;
aaron.b
aaron.ballman added inline comments.
Comment at: lib/AST/DeclPrinter.cpp:180-181
if (isFirst) {
- if(TD)
-SubPolicy.IncludeTagDefinition = true;
+ if (TD)
+SubPolicy.TagSpecifierAs = TD;
SubPolicy.SuppressSpecifiers = false;
jdenny added a comment.
In https://reviews.llvm.org/D45463#1087174, @rsmith wrote:
> > TagSpecifierAs expands sizeof(PrintingPolicy) from 8 to 16 bytes. My
> > concern is the comments on PrintingPolicy about how PrintingPolicy is
> > intended to be small. My guess it that 16 bytes is still smal
NoQ added inline comments.
Comment at: lib/StaticAnalyzer/Checkers/UninitializedObjectChecker.cpp:258-260
+Report->addNote(NoteBuf,
+PathDiagnosticLocation::create(FieldChain.getEndOfChain(),
+
Context.get
Yes, it did. Thanks!
--
Maxim Kuvyrkov
www.linaro.org
> On May 3, 2018, at 3:48 PM, Nico Weber wrote:
>
> r331450 should hopefully fix this.
>
> On Tue, May 1, 2018 at 8:55 AM, Nico Weber wrote:
> tzik, can you take a look what's up on those bots?
>
> On Tue, May 1, 2018, 5:48 AM Maxim Ku
NoQ created this revision.
NoQ added reviewers: dcoughlin, xazax.hun, a.sidorin, george.karpenkov, szepet,
rnkovacs.
Herald added subscribers: cfe-commits, baloghadamsoftware.
Through C cast magic it's possible to put a raw void pointer into a variable of
non-void pointer type. It is fine - gene
craig.topper added a comment.
From the backend codegen perspective it would be fine if the callees
instruction features were a subset. So it really depends on why the user wrote
the different arch on the callee in the first place. If they did it because of
one of the various tuning flags in the
Author: dergachev
Date: Thu May 3 17:53:41 2018
New Revision: 331496
URL: http://llvm.org/viewvc/llvm-project?rev=331496&view=rev
Log:
[analyzer] NFC: Remove unused parameteer of StoreManager::CastRetrievedVal().
Modified:
cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
echristo added a comment.
I like the idea of a front end warning, but had believed that a subset of cpu
features should be allowed to be inlined into something that's a superset and
it sounds like you don't agree? Your thoughts here?
-eric
https://reviews.llvm.org/D46410
__
shuaiwang updated this revision to Diff 145121.
shuaiwang marked 4 inline comments as done.
shuaiwang added a comment.
Addressed review comments, notably added check for DeclRefExpr to volatile
variables.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45679
Files:
clang-tidy
shuaiwang added inline comments.
Comment at: clang-tidy/utils/ExprMutationAnalyzer.cpp:82-83
+const auto *E = RefNodes.getNodeAs("expr");
+if (findMutation(E))
+ return E;
+ }
aaron.ballman wrote:
> Why does this not return the result of `findMutati
rsmith added inline comments.
Comment at: lib/CodeGen/CGExprConstant.cpp:1413
+ } else if (!Init->isEvaluatable(CE.CGM.getContext())) {
+return false;
+ } else if (InitTy->hasPointerRepresentation()) {
sepavloff wrote:
> rjmccall wrote:
> > Aren't the null-
GorNishanov accepted this revision.
GorNishanov added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rC Clang
https://reviews.llvm.org/D45860
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.
rsmith added a comment.
> TagSpecifierAs expands sizeof(PrintingPolicy) from 8 to 16 bytes. My concern
> is the comments on PrintingPolicy about how PrintingPolicy is intended to be
> small. My guess it that 16 bytes is still small enough, but perhaps Richard
> Smith, who wrote that comment, kn
rjmccall added a comment.
Given that these are overloaded builtins, why are there separate builtins for
`min` and `umin`?
If this is a Clang extension, it needs to be documented in our extensions
documentation.
The documentation should describe the exact ordering semantics, to the extent
we w
rsmith added inline comments.
Comment at: include/clang/AST/TypeLoc.h:1992-1993
+ unsigned getExtraLocalDataAlignment() const {
+static_assert(alignof(TransformTraitTypeLoc) >= alignof(TypeSourceInfo *),
+ "not enough alignment for tail-allocated data");
+
craig.topper created this revision.
craig.topper added reviewers: echristo, erichkeane.
If an always inline function requests a different CPU than its caller we should
probably error.
If the callee CPU has features that the caller CPU doesn't we would already
error for the feature mismatch, but
vsapsai added a comment.
In https://reviews.llvm.org/D45470#1087026, @jfb wrote:
> This isn't bad, so I'd go with it, but separately I imagine that we could
> implement the suggestion in http://wg21.link/p0943 and expose it even before
> C++20? Not sure we do this much, but I'd argue that befor
vsapsai added a comment.
Thanks for the quick review.
Repository:
rL LLVM
https://reviews.llvm.org/D46363
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
This revision was automatically updated to reflect the committed changes.
Closed by commit rL331484: Follow-up to r331378. Update tests to allow to use C
atomics in C++. (authored by vsapsai, committed by ).
Herald added subscribers: llvm-commits, delcypher.
Changed prior to commit:
https://rev
mstorsjo added a comment.
@sepavloff - does the additional change to this one also look fine to you?
https://reviews.llvm.org/D46286
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
EricWF added inline comments.
Comment at: lib/CodeGen/CGExprAgg.cpp:1002
+ return EmitFinalDestCopy(
+ E->getType(), CGF.MakeNaturalAlignAddrLValue(Select, E->getType()));
+}
EricWF wrote:
> rjmccall wrote:
> > Is there something in Sema actually validating
jfb added a comment.
This isn't bad, so I'd go with it, but separately I imagine that we could
implement the suggestion in http://wg21.link/p0943 and expose it even before
C++20? Not sure we do this much, but I'd argue that before that fix stdatomic.h
is just useless anyways, so it's a fine bre
EricWF marked 12 inline comments as done.
EricWF added a comment.
Ping.
https://reviews.llvm.org/D45131
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jdenny updated this revision to Diff 145092.
jdenny removed a reviewer: jbcoe.
jdenny added a comment.
Rebased. Ping.
https://reviews.llvm.org/D45463
Files:
include/clang-c/Index.h
include/clang/AST/PrettyPrinter.h
lib/AST/DeclPrinter.cpp
lib/AST/TypePrinter.cpp
test/Misc/ast-print-e
Author: ctopper
Date: Thu May 3 14:01:35 2018
New Revision: 331483
URL: http://llvm.org/viewvc/llvm-project?rev=331483&view=rev
Log:
[X86] Make __builtin_ia32_directstore_u32 and __builtin_ia32_movdir64b 'nothrow'
These builtins snuck in while I was in the middle of adding nothrow to the
other
Author: ctopper
Date: Thu May 3 14:01:33 2018
New Revision: 331482
URL: http://llvm.org/viewvc/llvm-project?rev=331482&view=rev
Log:
[CodeGenFunction] Use the StringRef::split function that takes a char separator
instead of StringRef separator. NFC
The char separator version should be a little
EricWF added inline comments.
Comment at: lib/CodeGen/CGExprAgg.cpp:1002
+ return EmitFinalDestCopy(
+ E->getType(), CGF.MakeNaturalAlignAddrLValue(Select, E->getType()));
+}
rjmccall wrote:
> Is there something in Sema actually validating that the comparis
lebedev.ri added a comment.
In https://reviews.llvm.org/D45931#1086665, @alexfh wrote:
> In https://reviews.llvm.org/D45931#1084503, @lebedev.ri wrote:
>
> > In https://reviews.llvm.org/D45931#1083192, @lebedev.ri wrote:
> >
> > > Thank you for looking at this.
> > >
> > > In https://reviews.llvm
Wizard added inline comments.
Comment at: clang-tidy/objc/PropertyDeclarationCheck.cpp:222
+ [MatchedDecl](std::string const &s) {
+return s == MatchedDecl->getName();
+ })) {
benhamilton wrote:
> `s` is a reg
jgalenson created this revision.
jgalenson added reviewers: hans, sylvestre.ledru.
Repository:
rC Clang
https://reviews.llvm.org/D46406
Files:
docs/UsersManual.rst
Index: docs/UsersManual.rst
===
--- docs/UsersManual.rst
+++ d
jdenny updated this revision to Diff 145078.
jdenny edited the summary of this revision.
jdenny added a comment.
Rebased. Added example to summary. Ping.
https://reviews.llvm.org/D45093
Files:
include/clang/AST/ASTContext.h
include/clang/Sema/Sema.h
lib/Parse/ParseDecl.cpp
lib/Sema/Se
aaron.ballman updated this revision to Diff 145077.
aaron.ballman added a comment.
Updated to remove the contentious parts, though I still hope to add those back
in.
https://reviews.llvm.org/D45835
Files:
include/clang/Basic/Features.def
include/clang/Driver/CC1Options.td
include/clang/F
vsk added a comment.
In https://reviews.llvm.org/D46403#1086923, @cmtice wrote:
> Ok, I'll work on making this CFI-specific and adding a test case.
Sounds good, thanks! I'd suggest modifying test/Driver/fsanitize-blacklist.c
for your purposes. It should be possible to pair an empty resource di
cmtice added a comment.
Ok, I'll work on making this CFI-specific and adding a test case.
https://reviews.llvm.org/D46403
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
delena added inline comments.
Comment at: lib/Sema/SemaChecking.cpp:3098
+ case AtomicExpr::AO__atomic_fetch_umax:
+IsMinMax = true;
+Form = Arithmetic;
jfb wrote:
> Should `__sync_fetch_and_min` and others also set `IsMinMax`?
__sync_fetch_and_min is no
cmtice updated this revision to Diff 145073.
cmtice added a comment.
Tried to upload the diff from the correct location.
https://reviews.llvm.org/D46403
Files:
lib/Driver/SanitizerArgs.cpp
Index: lib/Driver/SanitizerArgs.cpp
==
yaxunl accepted this revision.
yaxunl added a comment.
LGTM. Thanks!
https://reviews.llvm.org/D46049
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vsk requested changes to this revision.
vsk added a comment.
This revision now requires changes to proceed.
Toolchain vendors aren't currently required to provide default blacklists for
every sanitizer clang supports. We don't ship a default ubsan blacklist on
macOS, so this patch would break ub
pfultz2 updated this revision to Diff 145072.
pfultz2 added a comment.
Rename flag to `AllowEnablingAnalyzerAlphaCheckers`.
https://reviews.llvm.org/D46159
Files:
clang-tidy/ClangTidy.cpp
clang-tidy/ClangTidyOptions.cpp
clang-tidy/ClangTidyOptions.h
clang-tidy/tool/ClangTidyMain.cpp
t
pfultz2 added inline comments.
Comment at: clang-tidy/ClangTidyOptions.h:80-82
+ /// \brief Turns on experimental alpha checkers from the static analyzer.
+ llvm::Optional AllowEnablingAlphaChecks;
+
alexfh wrote:
> Since this will only be configurable via a fl
lebedev.ri added a comment.
Test?
Repository:
rC Clang
https://reviews.llvm.org/D46403
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
thakis added inline comments.
Comment at: test/Frontend/plugins.c:7
+
+// RUN: c-index-test -code-completion-at=%s:6:1 -load
%llvmshlibdir/PrintFunctionNames%pluginext -add-plugin print-fns %s | FileCheck
-check-prefix=CHECK-COMPLETION-WITHOUT-PLUGINS %s
+// REQUIRES: plugins,
lebedev.ri added a comment.
Also, please upload the correct patch, from the root of the repo, not from the
directory of the file.
Repository:
rC Clang
https://reviews.llvm.org/D46403
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http:/
NoQ accepted this revision.
NoQ added a comment.
This revision is now accepted and ready to land.
Thanks!
Just curious - did these flags bother you? Cause we never really care about
cleaning up run lines after flipping the flag, so we have a lot of such stale
flags in our tests. We could start
cmtice created this revision.
cmtice added a reviewer: pcc.
Herald added a subscriber: cfe-commits.
Currently LLVM CFI tries to use an implicit blacklist file, currently in
/usr/lib64/clang//share. If the file is not there, LLVM happily
continues, which causes CFI to add checks to files/functio
rjmccall added a comment.
I think we should seriously consider making alignment attributes on typedefs
(and maybe some other attributes like may_alias) actual type qualifiers that
are preserved in the canonical type, mangled, and so on. It would be an ABI
break, but it'd also solve a lot of pr
jfb added inline comments.
Comment at: lib/Sema/SemaChecking.cpp:3098
+ case AtomicExpr::AO__atomic_fetch_umax:
+IsMinMax = true;
+Form = Arithmetic;
Should `__sync_fetch_and_min` and others also set `IsMinMax`?
Repository:
rC Clang
https://reviews.
ahatanak added a comment.
> Note that this sort of attribute is stripped from template arguments in
> template substitution, so there's a possibility that code templated over
> vectors will produce inadequately-aligned objects.
I was wondering whether there is a warning clang issues when the al
Author: zinovy.nis
Date: Thu May 3 11:31:39 2018
New Revision: 331475
URL: http://llvm.org/viewvc/llvm-project?rev=331475&view=rev
Log:
Simplify test clang-tidy-__clang_analyzer__macro.cpp
Modified:
clang-tools-extra/trunk/test/clang-tidy/clang-tidy-__clang_analyzer__macro.cpp
Modified:
This revision was automatically updated to reflect the committed changes.
Closed by commit rL331474: [clang-tidy] Define __clang_analyzer__ macro for
clang-tidy for compatibility… (authored by zinovy.nis, committed by ).
Herald added subscribers: llvm-commits, klimek.
Changed prior to commit:
h
Author: zinovy.nis
Date: Thu May 3 11:26:39 2018
New Revision: 331474
URL: http://llvm.org/viewvc/llvm-project?rev=331474&view=rev
Log:
[clang-tidy] Define __clang_analyzer__ macro for clang-tidy for compatibility
with clang static analyzer
This macro is widely used in many well-known projects,
shuaiwang added a comment.
In https://reviews.llvm.org/D45702#1086250, @aaron.ballman wrote:
> In https://reviews.llvm.org/D45702#1085890, @shuaiwang wrote:
>
> > In https://reviews.llvm.org/D45702#1085224, @aaron.ballman wrote:
> >
> > > > Have you run this over any large code bases to see wheth
zinovy.nis added a comment.
Thanks Alexander for your feedback!
https://reviews.llvm.org/D46325
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.
LG. Thank you!
https://reviews.llvm.org/D46325
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/list
zinovy.nis updated this revision to Diff 145059.
zinovy.nis added a comment.
- Added comments on why setting `ProgramAction` explicitly.
https://reviews.llvm.org/D46325
Files:
clang-tidy/ClangTidy.cpp
test/clang-tidy/clang-tidy-__clang_analyzer__macro.cpp
Index: test/clang-tidy/clang-tidy
lebedev.ri added a comment.
In https://reviews.llvm.org/D45931#1086665, @alexfh wrote:
> In https://reviews.llvm.org/D45931#1084503, @lebedev.ri wrote:
>
> > In https://reviews.llvm.org/D45931#1083192, @lebedev.ri wrote:
> >
> > > Thank you for looking at this.
> > >
> > > In https://reviews.llvm
a.sidorin created this revision.
a.sidorin added reviewers: xazax.hun, martong, szepet, jingham.
Herald added subscribers: cfe-commits, rnkovacs.
`buildASTFromCodeWithArgs()` accepts `llvm::Twine` as `Code` argument. However,
if the argument is not a C string or std::string, the argument is being
sepavloff marked an inline comment as done.
sepavloff added inline comments.
Comment at: lib/CodeGen/CGExprConstant.cpp:1403
+ if (auto *IL = dyn_cast_or_null(Init)) {
+if (InitTy->isConstantArrayType()) {
+ for (auto I : IL->inits())
rjmccall wrote:
>
fxb added a comment.
I'll have a look at these issues tomorrow and submit a new patch then.
Thanks for all your help so far!
https://reviews.llvm.org/D46394
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailm
aaron.ballman added a comment.
In https://reviews.llvm.org/D46159#1086627, @alexfh wrote:
> In https://reviews.llvm.org/D46159#1086493, @aaron.ballman wrote:
>
> > I think the premise is a bit off the mark. It's not that these are not for
> > the common user -- it's that they're simply not ready
sepavloff updated this revision to Diff 145049.
sepavloff marked an inline comment as done.
sepavloff added a comment.
Small simplification
Repository:
rC Clang
https://reviews.llvm.org/D46241
Files:
lib/CodeGen/CGExprConstant.cpp
test/CodeGenCXX/cxx11-initializer-aggregate.cpp
Index:
This revision was automatically updated to reflect the committed changes.
Closed by commit rC331469: [OPENMP] Fix test typos: CHECK-DAG-N ->
CHECK-N-DAG (authored by jdenny, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D46370?vs=144949&id=145047#toc
Repository:
rC Clang
Author: jdenny
Date: Thu May 3 10:22:01 2018
New Revision: 331468
URL: http://llvm.org/viewvc/llvm-project?rev=331468&view=rev
Log:
Revert r331466: [OPENMP] Fix test typos: CHECK-DAG-N -> CHECK-N-DAG"
Sorry, forgot to add commit log attributes.
Modified:
cfe/trunk/test/OpenMP/target_teams_d
Author: jdenny
Date: Thu May 3 10:22:04 2018
New Revision: 331469
URL: http://llvm.org/viewvc/llvm-project?rev=331469&view=rev
Log:
[OPENMP] Fix test typos: CHECK-DAG-N -> CHECK-N-DAG
Reviewed by: ABataev
Differential Revision: https://reviews.llvm.org/D46370
Modified:
cfe/trunk/test/OpenM
erichkeane requested changes to this revision.
erichkeane added a comment.
This revision now requires changes to proceed.
When building this, it didn't build since you'd reused the name. I changed the
variable to be named "Dest" instead of "Destination"
That said, the test suite now fails on Cl
Author: jdenny
Date: Thu May 3 10:15:44 2018
New Revision: 331466
URL: http://llvm.org/viewvc/llvm-project?rev=331466&view=rev
Log:
[OPENMP] Fix test typos: CHECK-DAG-N -> CHECK-N-DAG
Modified:
cfe/trunk/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
cfe/trunk/test/OpenMP/
chill added a comment.
In https://reviews.llvm.org/D46013#1084440, @efriedma wrote:
> I'd like to see some tests for __attribute((packed)).
Thanks, indeed it does not work correctly on packed structures. Back to the
drawing board ...
Repository:
rC Clang
https://reviews.llvm.org/D46013
alexfh added a comment.
In https://reviews.llvm.org/D45931#1084503, @lebedev.ri wrote:
> In https://reviews.llvm.org/D45931#1083192, @lebedev.ri wrote:
>
> > Thank you for looking at this.
> >
> > In https://reviews.llvm.org/D45931#1083184, @alexfh wrote:
> >
> > > From a user's perspective I'd p
alexfh added a comment.
What's the use case for debug CSA checkers in clang-tidy?
Repository:
rC Clang
https://reviews.llvm.org/D46187
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
alexfh requested changes to this revision.
alexfh added a comment.
This revision now requires changes to proceed.
In https://reviews.llvm.org/D46159#1086493, @aaron.ballman wrote:
> I think the premise is a bit off the mark. It's not that these are not for
> the common user -- it's that they're
xbolva00 added inline comments.
Comment at: clang-tidy/tool/ClangTidyMain.cpp:195
+/// This option Enables alpha checkers from the static analyzer, that are
+/// experimental. This option is set to false and not visible in help, because
lebedev.ri wrote:
> xbol
a.sidorin added a comment.
I see,t hank you. Please feel free to submit a patch - it seems like you
already have a nice test case that shows the difference between two import
options.
https://reviews.llvm.org/D26054
___
cfe-commits mailing list
cf
lebedev.ri added inline comments.
Comment at: clang-tidy/tool/ClangTidyMain.cpp:195
+/// This option Enables alpha checkers from the static analyzer, that are
+/// experimental. This option is set to false and not visible in help, because
xbolva00 wrote:
> This
pfultz2 added a comment.
> When something is merged into Clang trunk, the expectation is that it will be
> production quality or will be worked on rapidly to get it to production
> quality, which is somewhat orthogonal to getting user feedback. I don't know
> that I have the full history of all
fxb added a comment.
@erichkeane That would be great! Thanks!
https://reviews.llvm.org/D46394
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
erichkeane accepted this revision.
erichkeane added a comment.
This revision is now accepted and ready to land.
This looks fine to me. Let me know if you need me to commit this for you.
https://reviews.llvm.org/D46394
___
cfe-commits mailing list
cf
fxb updated this revision to Diff 145030.
fxb added a comment.
Updated the code to use an enum called `ShowIncludesDestination`
https://reviews.llvm.org/D46394
Files:
include/clang/Frontend/DependencyOutputOptions.h
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInstance.cpp
lib/F
aaron.ballman added a comment.
In https://reviews.llvm.org/D46159#1086553, @pfultz2 wrote:
> > I think the premise is a bit off the mark. It's not that these are not for
> > the common user -- it's that they're simply not ready for users at all.
>
> Then why was it merged into clang in the first
alexfh requested changes to this revision.
alexfh added a comment.
This revision now requires changes to proceed.
It looks like you've missed some comments or uploaded a wrong patch.
Comment at: clang-tidy/bugprone/ExceptionEscapeCheck.cpp:105
+const TypeVec throwsException(con
pfultz2 updated this revision to Diff 145029.
pfultz2 added a comment.
Rename flag to `allow-enabling-alpha-checks` and removed the option from the
clang-tidy file.
https://reviews.llvm.org/D46159
Files:
clang-tidy/ClangTidy.cpp
clang-tidy/ClangTidyOptions.cpp
clang-tidy/ClangTidyOptions
alexfh requested changes to this revision.
alexfh added a comment.
This revision now requires changes to proceed.
There are still outstanding comments.
https://reviews.llvm.org/D33844
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://li
saugustine added a comment.
In https://reviews.llvm.org/D36610#1083952, @mikhail.ramalho wrote:
> Ping.
Given that richard smith is the only non-approver, and that he hasn't
responded, and that I contributed this code, I'm going to make an executive
decision and say that this is OK to submit.
alexfh requested changes to this revision.
alexfh added inline comments.
This revision now requires changes to proceed.
Comment at: clang-tidy/bugprone/InfiniteLoopCheck.h:37
+private:
+ bool updateSequence(Stmt *FunctionBody, ASTContext &ASTCtx);
+ const Stmt *PrevFunctionBody
r.stahl added a comment.
Maybe this is a user error of CrossTU, but it seemed to import a FuncDecl with
attributes, causing the imported FuncDecl to have all those attributes twice.
That's why I thought merging would maybe make sense. However I did not
encounter any issue with the duplicate att
Author: alexfh
Date: Thu May 3 09:01:49 2018
New Revision: 331461
URL: http://llvm.org/viewvc/llvm-project?rev=331461&view=rev
Log:
Added trailing periods.
Modified:
clang-tools-extra/trunk/docs/ReleaseNotes.rst
Modified: clang-tools-extra/trunk/docs/ReleaseNotes.rst
URL:
http://llvm.org/v
Author: alexfh
Date: Thu May 3 08:59:39 2018
New Revision: 331460
URL: http://llvm.org/viewvc/llvm-project?rev=331460&view=rev
Log:
Add a trailing period in release notes.
Modified:
clang-tools-extra/trunk/clang-tidy/add_new_check.py
Modified: clang-tools-extra/trunk/clang-tidy/add_new_chec
1 - 100 of 158 matches
Mail list logo