Re: [PATCH] D14014: Checker of proper vfork usage

2015-10-28 Thread Anna Zaks via cfe-commits
zaks.anna added a comment. Thanks for the patch! Some minor comments inline. What happens when this checker and the security.insecureAPI.vfork are enabled at the same time? Did you run this checker on a large body of code? Did it find any issues? What is needed to turn this into a non-alpha c

Re: [PATCH] D14014: Checker of proper vfork usage

2015-10-28 Thread Yury Gribov via cfe-commits
ygribov added a comment. Done! http://reviews.llvm.org/D14014 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: r251567 - Fix the calling convention of Mingw64 long double values

2015-10-28 Thread Yaron Keren via cfe-commits
Thanks! 2015-10-29 0:29 GMT+02:00 Reid Kleckner via cfe-commits < cfe-commits@lists.llvm.org>: > Author: rnk > Date: Wed Oct 28 17:29:52 2015 > New Revision: 251567 > > URL: http://llvm.org/viewvc/llvm-project?rev=251567&view=rev > Log: > Fix the calling convention of Mingw64 long double values

[libcxx] r251618 - Implement P0004R1 'Remove Deprecated iostreams aliases'

2015-10-28 Thread Marshall Clow via cfe-commits
Author: marshall Date: Thu Oct 29 00:43:30 2015 New Revision: 251618 URL: http://llvm.org/viewvc/llvm-project?rev=251618&view=rev Log: Implement P0004R1 'Remove Deprecated iostreams aliases' Modified: libcxx/trunk/include/ios libcxx/trunk/test/std/depr/depr.ios.members/io_state.pass.cpp

r251611 - Fix a soon to be invalid test

2015-10-28 Thread Xinliang David Li via cfe-commits
Author: davidxl Date: Wed Oct 28 23:04:07 2015 New Revision: 251611 URL: http://llvm.org/viewvc/llvm-project?rev=251611&view=rev Log: Fix a soon to be invalid test Remove a check that won't be valid when LLVM stops emitting runtime hook user function. Modified: cfe/trunk/test/Profile/gcc-fla

r251603 - test: fix overzealous match

2015-10-28 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Wed Oct 28 22:52:14 2015 New Revision: 251603 URL: http://llvm.org/viewvc/llvm-project?rev=251603&view=rev Log: test: fix overzealous match Accidentally made the test too strict. Modified: cfe/trunk/test/Driver/windows-cross.c Modified: cfe/trunk/test/Driver/windows-c

r251600 - Driver: CrossWindows sanitizers link support

2015-10-28 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Wed Oct 28 22:36:45 2015 New Revision: 251600 URL: http://llvm.org/viewvc/llvm-project?rev=251600&view=rev Log: Driver: CrossWindows sanitizers link support Add the required libraries to the linker invocation when building with sanitizers. Modified: cfe/trunk/lib/Drive

r251599 - Driver: inline some small arrays

2015-10-28 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Wed Oct 28 22:36:42 2015 New Revision: 251599 URL: http://llvm.org/viewvc/llvm-project?rev=251599&view=rev Log: Driver: inline some small arrays Use an initializer list to remove a couple of small static arrays. NFC. Modified: cfe/trunk/lib/Driver/Tools.cpp Modified

r251598 - Driver: tweak CrossWindows sanitizer support

2015-10-28 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Wed Oct 28 22:36:38 2015 New Revision: 251598 URL: http://llvm.org/viewvc/llvm-project?rev=251598&view=rev Log: Driver: tweak CrossWindows sanitizer support Indicate support for ASAN on the CrossWindows toolchain. Although this is insufficient, this at least permits the ha

r251591 - [analyzer] Update analyzer website for release of checker-277.

2015-10-28 Thread Devin Coughlin via cfe-commits
Author: dcoughlin Date: Wed Oct 28 20:23:57 2015 New Revision: 251591 URL: http://llvm.org/viewvc/llvm-project?rev=251591&view=rev Log: [analyzer] Update analyzer website for release of checker-277. Modified: cfe/trunk/www/analyzer/index.html cfe/trunk/www/analyzer/installation.html c

Re: [PATCH] Bug 15109: Implement -Wdouble-promotion for clang

2015-10-28 Thread Carl Norum via cfe-commits
Oh, that's fine. Sorry about that! -- Carl Thanks for committing. > On Oct 28, 2015, at 5:32 PM, George Burgess IV > wrote: > > Committed as r251588 -- thanks again! > > FYI: I'm assuming that you meant to change the test to > warn-double-promotion.c instead of leaving it as warn-double-pro

Re: [PATCH] Bug 15109: Implement -Wdouble-promotion for clang

2015-10-28 Thread George Burgess IV via cfe-commits
Committed as r251588 -- thanks again! FYI: I'm assuming that you meant to change the test to warn-double-promotion.c instead of leaving it as warn-double-promotion.cpp, so I made that fix for you prior to committing. If this is isn't something you wanted, please let me know. :) 2015-10-28 17:02 G

r251588 - [Sema] Implement -Wdouble-promotion for clang.

2015-10-28 Thread George Burgess IV via cfe-commits
Author: gbiv Date: Wed Oct 28 19:28:52 2015 New Revision: 251588 URL: http://llvm.org/viewvc/llvm-project?rev=251588&view=rev Log: [Sema] Implement -Wdouble-promotion for clang. GCC has a warning called -Wdouble-promotion, which warns you when an implicit conversion increases the width of a float

Re: [PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

2015-10-28 Thread Alexander Kornienko via cfe-commits
alexfh added inline comments. Comment at: test/clang-tidy/modernize-use-default.cpp:139 @@ +138,3 @@ + +struct O { + O() { Can we choose a different name for it, that does not resemble a digit? Comment at: test/clang-tidy/modernize-use-default.c

Re: [PATCH] Bug 15109: Implement -Wdouble-promotion for clang

2015-10-28 Thread Carl Norum via cfe-commits
OK, here you go! -- Carl double-promotion-2.patch Description: Binary data > On Oct 28, 2015, at 4:53 PM, Carl Norum wrote: > > >> On Oct 28, 2015, at 4:37 PM, George Burgess IV >> wrote: >> >> Thanks for this patch! :) Just a few small nits: >> - Is there a reason that test/SemaCXX/war

Re: [PATCH] Bug 15109: Implement -Wdouble-promotion for clang

2015-10-28 Thread Carl Norum via cfe-commits
> On Oct 28, 2015, at 4:37 PM, George Burgess IV > wrote: > > Thanks for this patch! :) Just a few small nits: > - Is there a reason that test/SemaCXX/warn-double-promotion.cpp can't be at > test/Sema/warn-double-promotion.c instead? No reason; I just found warn-float-conversion.c in there an

Re: [PATCH] Bug 15109: Implement -Wdouble-promotion for clang

2015-10-28 Thread George Burgess IV via cfe-commits
Thanks for this patch! :) Just a few small nits: - Is there a reason that test/SemaCXX/warn-double-promotion.cpp can't be at test/Sema/warn-double-promotion.c instead? - Can we make the warning message a bit more specific? Maybe something like "implicit conversion increases floating-point precision

Re: [PATCH] D12358: [Analyzer] Widening loops which do not exit

2015-10-28 Thread Devin Coughlin via cfe-commits
dcoughlin accepted this revision. dcoughlin added a comment. LGTM. Please commit. Thanks for tackling this, Sean! http://reviews.llvm.org/D12358 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/c

Re: [PATCH] D13144: [CUDA] propagate to CUDA sub-compilations target triple of opposite side.

2015-10-28 Thread Artem Belevich via cfe-commits
tra updated this revision to Diff 38694. tra added a comment. Folded some arguments of BuildUniversalActions. http://reviews.llvm.org/D13144 Files: include/clang/Driver/Compilation.h include/clang/Driver/Driver.h lib/Driver/Compilation.cpp lib/Driver/Driver.cpp lib/Driver/Tools.cpp

r251576 - [WinEH] Mark calls inside cleanups as noinline

2015-10-28 Thread Reid Kleckner via cfe-commits
Author: rnk Date: Wed Oct 28 18:06:42 2015 New Revision: 251576 URL: http://llvm.org/viewvc/llvm-project?rev=251576&view=rev Log: [WinEH] Mark calls inside cleanups as noinline This works around PR25162. The MSVC tables make it very difficult to correctly inline a C++ destructor that contains try

Re: [PATCH] D13144: [CUDA] propagate to CUDA sub-compilations target triple of opposite side.

2015-10-28 Thread Artem Belevich via cfe-commits
tra added inline comments. Comment at: lib/Driver/Driver.cpp:503 @@ -502,3 +502,3 @@ if (TC.getTriple().isOSBinFormatMachO()) -BuildUniversalActions(C->getDefaultToolChain(), C->getArgs(), Inputs, +BuildUniversalActions(*C, C->getDefaultToolChain(), C->getArgs(), Inputs

Re: [PATCH] D13357: [Concepts] Diagnose when 'concept' is specified on a specialization

2015-10-28 Thread Hubert Tong via cfe-commits
hubert.reinterpretcast added inline comments. Comment at: include/clang/AST/Decl.h:1577 @@ -1576,2 +1576,3 @@ bool IsConstexpr : 1; + bool IsConcept : 1; nwilson wrote: > faisalv wrote: > > My inclination would have been to add this bit to FunctionTemplateDe

r251567 - Fix the calling convention of Mingw64 long double values

2015-10-28 Thread Reid Kleckner via cfe-commits
Author: rnk Date: Wed Oct 28 17:29:52 2015 New Revision: 251567 URL: http://llvm.org/viewvc/llvm-project?rev=251567&view=rev Log: Fix the calling convention of Mingw64 long double values GCC uses the x87DoubleExtended model for long doubles, and passes them indirectly by address through function

r251565 - Fix missing builtin identifier infos with PCH+modules

2015-10-28 Thread Ben Langmuir via cfe-commits
Author: benlangmuir Date: Wed Oct 28 17:25:37 2015 New Revision: 251565 URL: http://llvm.org/viewvc/llvm-project?rev=251565&view=rev Log: Fix missing builtin identifier infos with PCH+modules Use the *current* state of "is-moduleness" rather than the state at serialization time so that if we read

Re: [PATCH] D14014: Checker of proper vfork usage

2015-10-28 Thread Devin Coughlin via cfe-commits
dcoughlin added a comment. LGTM. Can you update the summary to a commit message? Then I will commit. Thanks for upstreaming! http://reviews.llvm.org/D14014 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailma

Re: [PATCH] D13144: [CUDA] propagate to CUDA sub-compilations target triple of opposite side.

2015-10-28 Thread Eric Christopher via cfe-commits
echristo added a comment. Some inline comments for discussion. Thanks! -eric Comment at: lib/Driver/Driver.cpp:503 @@ -502,3 +502,3 @@ if (TC.getTriple().isOSBinFormatMachO()) -BuildUniversalActions(C->getDefaultToolChain(), C->getArgs(), Inputs, +BuildUniversalActi

Re: [PATCH] D10022: Refactor: Simplify boolean conditional return statements in lib/StaticAnalyzer/Core

2015-10-28 Thread Anna Zaks via cfe-commits
zaks.anna added inline comments. Comment at: lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:692-693 @@ -691,4 +691,2 @@ CXXBasePaths Paths(false, false, false); - if (RD->lookupInBases( - [DeclName](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { --

Re: [libcxx] r251529 - Adapt to lit change in llvm r251478-r251481

2015-10-28 Thread Eric Fiselier via cfe-commits
Thanks for the fix. On Wed, Oct 28, 2015 at 11:20 AM, Matthias Braun via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: matze > Date: Wed Oct 28 12:20:33 2015 > New Revision: 251529 > > URL: http://llvm.org/viewvc/llvm-project?rev=251529&view=rev > Log: > Adapt to lit change in llvm r

Re: r251524 - [analyzer] Make inclusion/exclusion of checkers less ambiguous.

2015-10-28 Thread Anton Yartsev via cfe-commits
On 28.10.2015 21:26, Devin Coughlin wrote: On Oct 28, 2015, at 9:28 AM, Anton Yartsev via cfe-commits wrote: Author: ayartsev Date: Wed Oct 28 11:28:57 2015 New Revision: 251524 URL: http://llvm.org/viewvc/llvm-project?rev=251524&view=rev Log: [analyzer] Make inclusion/exclusion of checkers

r251552 - [analyzer] Preserve the order checkers were enabled/disabled.

2015-10-28 Thread Anton Yartsev via cfe-commits
Author: ayartsev Date: Wed Oct 28 15:43:39 2015 New Revision: 251552 URL: http://llvm.org/viewvc/llvm-project?rev=251552&view=rev Log: [analyzer] Preserve the order checkers were enabled/disabled. In addition to r251524: preserve the order the checkers were enabled/disabled to be deterministic.

[libcxx] r251545 - Mark two Kona papers as 'in progress'

2015-10-28 Thread Marshall Clow via cfe-commits
Author: marshall Date: Wed Oct 28 14:21:40 2015 New Revision: 251545 URL: http://llvm.org/viewvc/llvm-project?rev=251545&view=rev Log: Mark two Kona papers as 'in progress' Modified: libcxx/trunk/www/cxx1z_status.html Modified: libcxx/trunk/www/cxx1z_status.html URL: http://llvm.org/viewvc/

Re: [PATCH] D13925: Implement __attribute__((internal_linkage))

2015-10-28 Thread Evgeniy Stepanov via cfe-commits
eugenis added a comment. In http://reviews.llvm.org/D13925#276626, @majnemer wrote: > No diagnostic is issued for the following C test case: > > int x __attribute__((internal_linkage)); > int x __attribute__((common)); > int *f() { return &x; } Thanks for noticing! Added missing attribute

Re: [PATCH] D13925: Implement __attribute__((internal_linkage))

2015-10-28 Thread Evgeniy Stepanov via cfe-commits
eugenis updated this revision to Diff 38679. Repository: rL LLVM http://reviews.llvm.org/D13925 Files: include/clang/Basic/Attr.td include/clang/Basic/AttrDocs.td include/clang/Sema/Sema.h lib/AST/Decl.cpp lib/Sema/Sema.cpp lib/Sema/SemaDecl.cpp lib/Sema/SemaDeclAttr.cpp test/C

Re: [PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

2015-10-28 Thread Manuel Klimek via cfe-commits
klimek added a comment. In http://reviews.llvm.org/D14145#277222, @angelgarcia wrote: > You can initialize an indirect base if it's virtual. Cool, those cases would be useful to have as comment, for example: // Make sure there are no additional initializations going on (for example, of indirec

Re: r251385 - Create undef reference to profile hook symbol

2015-10-28 Thread Vedant Kumar via cfe-commits
> On Oct 28, 2015, at 11:03 AM, Justin Bogner via cfe-commits > wrote: > > Xinliang David Li via cfe-commits writes: >> Author: davidxl >> Date: Tue Oct 27 00:15:35 2015 >> New Revision: 251385 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=251385&view=rev >> Log: >> Create undef referenc

Re: [PATCH] D13802: [OPENMP] Make -fopenmp to turn on OpenMP support by default.

2015-10-28 Thread Jack Howarth via cfe-commits
jhowarth added a comment. The CMakeLists.txt change cited is in top-level of the clang sources and not in the llvm top-level. http://reviews.llvm.org/D13802 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailm

Re: [PATCH] D13802: [OPENMP] Make -fopenmp to turn on OpenMP support by default.

2015-10-28 Thread Alexey Bataev via cfe-commits
ABataev added a comment. In http://reviews.llvm.org/D13802#276755, @hfinkel wrote: > In http://reviews.llvm.org/D13802#275471, @chandlerc wrote: > > > In http://reviews.llvm.org/D13802#274847, @ABataev wrote: > > > > > Hi Chandler, thanks for the review. > > > > > > In http://reviews.llvm.org/D13

Re: [PATCH] D13802: [OPENMP] Make -fopenmp to turn on OpenMP support by default.

2015-10-28 Thread Alexey Bataev via cfe-commits
ABataev added a comment. In http://reviews.llvm.org/D13802#277270, @jhowarth wrote: > The proposed patches here to change the default behavior of -fopenmp from > -fopenmp=libgomp to -fopenmp=libomp seem to only handle the configure-based > build. The following change required to switch over the

Re: r251524 - [analyzer] Make inclusion/exclusion of checkers less ambiguous.

2015-10-28 Thread Devin Coughlin via cfe-commits
> On Oct 28, 2015, at 9:28 AM, Anton Yartsev via cfe-commits > wrote: > > Author: ayartsev > Date: Wed Oct 28 11:28:57 2015 > New Revision: 251524 > > URL: http://llvm.org/viewvc/llvm-project?rev=251524&view=rev > Log: > [analyzer] Make inclusion/exclusion of checkers less ambiguous. ... > >

Re: [PATCH] D13802: [OPENMP] Make -fopenmp to turn on OpenMP support by default.

2015-10-28 Thread Jack Howarth via cfe-commits
jhowarth added a subscriber: jhowarth. jhowarth added a comment. The proposed patches here to change the default behavior of -fopenmp from -fopenmp=libgomp to -fopenmp=libomp seem to only handle the configure-based build. The following change required to switch over the crake-based build to def

Re: [libcxx] r249929 - Split out of .

2015-10-28 Thread Michael Zolotukhin via cfe-commits
Hi Eric, Richard, Any news on this? The test is still broken, should we revert the commit for now? Thanks, Michael > On Oct 24, 2015, at 1:18 AM, Eric Fiselier wrote: > > Hi Michael, > > Sorry I'm holding this patch up in review. The fix is quite "novel" and I > want to make sure we get it r

Re: r251385 - Create undef reference to profile hook symbol

2015-10-28 Thread Justin Bogner via cfe-commits
Xinliang David Li via cfe-commits writes: > Author: davidxl > Date: Tue Oct 27 00:15:35 2015 > New Revision: 251385 > > URL: http://llvm.org/viewvc/llvm-project?rev=251385&view=rev > Log: > Create undef reference to profile hook symbol > > Create undef reference to profile hook symbol when > PGO

Re: [PATCH] D14149: __builtin_signbit fix for ppcf128 type

2015-10-28 Thread John McCall via cfe-commits
rjmccall added a comment. Just a few comment suggestions, but functionally LGTM. Comment at: lib/CodeGen/CGBuiltin.cpp:246 @@ -244,1 +245,3 @@ +// On little-Endian, high-double will be in low part of i128. +// Therefore, on big-Endian we shift high part to low part.

[libcxx] r251529 - Adapt to lit change in llvm r251478-r251481

2015-10-28 Thread Matthias Braun via cfe-commits
Author: matze Date: Wed Oct 28 12:20:33 2015 New Revision: 251529 URL: http://llvm.org/viewvc/llvm-project?rev=251529&view=rev Log: Adapt to lit change in llvm r251478-r251481 Sorry for the breakage. Modified: libcxx/trunk/test/libcxx/test/format.py Modified: libcxx/trunk/test/libcxx/test/f

r251528 - Move global classes into anonymous namespaces. NFC.

2015-10-28 Thread Benjamin Kramer via cfe-commits
Author: d0k Date: Wed Oct 28 12:16:26 2015 New Revision: 251528 URL: http://llvm.org/viewvc/llvm-project?rev=251528&view=rev Log: Move global classes into anonymous namespaces. NFC. Modified: cfe/trunk/lib/AST/ExprConstant.cpp cfe/trunk/lib/CodeGen/CGCall.cpp Modified: cfe/trunk/lib/AST/

Re: [PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

2015-10-28 Thread Angel Garcia via cfe-commits
angelgarcia added a comment. You can initialize an indirect base if it's virtual. http://reviews.llvm.org/D14145 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

2015-10-28 Thread Manuel Klimek via cfe-commits
klimek added a comment. In http://reviews.llvm.org/D14145#277202, @angelgarcia wrote: > > In which cases can this be false? (I assume if not all are copied?) > > > This can be false is there is we do anything else than initializing the > bases and members. So the previous code is there to ensure

Buildbot e-mail notification has been changed

2015-10-28 Thread Galina Kistanova via cfe-commits
Hello everyone, I continue works to reduce buildbot noise. E-mail notification has been changed in the buildmaster. Now it should not count interrupted builds to figure out if notification should be send. So, some people might want to reconsider the notification rules for their personal notifiers.

r251524 - [analyzer] Make inclusion/exclusion of checkers less ambiguous.

2015-10-28 Thread Anton Yartsev via cfe-commits
Author: ayartsev Date: Wed Oct 28 11:28:57 2015 New Revision: 251524 URL: http://llvm.org/viewvc/llvm-project?rev=251524&view=rev Log: [analyzer] Make inclusion/exclusion of checkers less ambiguous. A checker may be enabled/disabled multiple times via -enable-checker and -disable-checker scan-bu

Re: [PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

2015-10-28 Thread Angel Garcia via cfe-commits
angelgarcia added a comment. > In which cases can this be false? (I assume if not all are copied?) This can be false is there is we do anything else than initializing the bases and members. So the previous code is there to ensure that we do that and this is here to ensure that we *only* do that.

Re: [PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

2015-10-28 Thread Manuel Klimek via cfe-commits
klimek added inline comments. Comment at: clang-tidy/modernize/UseDefaultCheck.cpp:83-91 @@ +82,11 @@ + const CXXMethodDecl *Method) { + if (Method->getNumParams() != 1) +return false; + QualType ArgType = Method->getParamDecl(0)->getType(); + +

Re: [PATCH] D14152: Add "equalsNode" for types and "isCopyAssignmentOperator" matchers.

2015-10-28 Thread Manuel Klimek via cfe-commits
klimek added a comment. Please add unit tests :) http://reviews.llvm.org/D14152 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

2015-10-28 Thread Angel Garcia via cfe-commits
angelgarcia updated this revision to Diff 38664. angelgarcia added a comment. Refactor most of the code to use AST matchers. Note that now this change requires http://reviews.llvm.org/D14152 to be applied first. http://reviews.llvm.org/D14145 Files: clang-tidy/modernize/UseDefaultCheck.cpp

[PATCH] D14152: Add "equalsNode" for types and "isCopyAssignmentOperator" matchers.

2015-10-28 Thread Angel Garcia via cfe-commits
angelgarcia created this revision. angelgarcia added a reviewer: klimek. angelgarcia added subscribers: cfe-commits, alexfh. Herald added a subscriber: klimek. This matchers are going to be used in modernize-use-default, but are generic enough to be placed in ASTMatchers.h. http://reviews.llvm.o

[clang-tools-extra] r251520 - Change test to just define NULL instead of #including stddef.h. In some

2015-10-28 Thread Daniel Jasper via cfe-commits
Author: djasper Date: Wed Oct 28 09:51:09 2015 New Revision: 251520 URL: http://llvm.org/viewvc/llvm-project?rev=251520&view=rev Log: Change test to just define NULL instead of #including stddef.h. In some test environments, even that builtin header isn't available. Also, this makes it more consis

Re: [PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

2015-10-28 Thread Manuel Klimek via cfe-commits
Thanks! On Wed, Oct 28, 2015 at 4:51 AM Angel Garcia wrote: > angelgarcia added a comment. > > OK, thanks! I will try to refactor some of the parts into AST matchers > then. It will probably take some time, though. > > > http://reviews.llvm.org/D14145 > > > >

r251514 - Put global classes into the appropriate namespace.

2015-10-28 Thread Benjamin Kramer via cfe-commits
Author: d0k Date: Wed Oct 28 08:54:16 2015 New Revision: 251514 URL: http://llvm.org/viewvc/llvm-project?rev=251514&view=rev Log: Put global classes into the appropriate namespace. Most of the cases belong into an anonymous namespace. No functionality change intended. Modified: cfe/trunk/inc

Re: [PATCH] D12906: [RFC] Bug identification("issue_hash") change for CmpRuns.py

2015-10-28 Thread Honggyu Kim via cfe-commits
honggyu.kim added a comment. In http://reviews.llvm.org/D12906#274724, @o.gyorgy wrote: > Hi, > > You are right the diff is is based on the hash. We already tried to > use an earlier hash generator (before the patch was introduced), which > generates a slightly different plist, that is why the

Re: [PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

2015-10-28 Thread Angel Garcia via cfe-commits
angelgarcia added a comment. OK, thanks! I will try to refactor some of the parts into AST matchers then. It will probably take some time, though. http://reviews.llvm.org/D14145 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.ll

Re: [PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

2015-10-28 Thread Manuel Klimek via cfe-commits
klimek added a comment. Generally, I feel like a lot of the code would be written better as ast matchers (by adding new matchers if necessary). You can use tooling::ast_matchers::matches if you want to do a match inside a callback. Comment at: clang-tidy/modernize/UseDefaultCh

Re: [PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

2015-10-28 Thread Angel Garcia via cfe-commits
angelgarcia updated this revision to Diff 38648. angelgarcia added a comment. Small tweak. http://reviews.llvm.org/D14145 Files: clang-tidy/modernize/UseDefaultCheck.cpp test/clang-tidy/modernize-use-default-copy.cpp test/clang-tidy/modernize-use-default.cpp Index: test/clang-tidy/modern

[PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

2015-10-28 Thread Angel Garcia via cfe-commits
angelgarcia created this revision. angelgarcia added a reviewer: klimek. angelgarcia added subscribers: alexfh, cfe-commits. the check will now warn when the user provided definitions of this functions is equivalent to the explicitly defaulted ones. http://reviews.llvm.org/D14145 Files: clang

Re: [PATCH] D14014: Checker of proper vfork usage

2015-10-28 Thread Yury Gribov via cfe-commits
ygribov added a comment. > > This is a valid concern because it greatly complicates enablement of > > VforkChecker for a casual user. > > > I think at the very least I can check that InsecureAPI is enable and issue a > warning to user. Actually I think that's not a huge problem. InsecureA

Re: [PATCH] D14121: Thumb state not being passed through to LLVM triple when using clang -cc1as

2015-10-28 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL251507: When running clang with an arm triple such as '--target=thumbv7m-none-eabi' (authored by alelab01). Changed prior to commit: http://reviews.llvm.org/D14121?vs=38633&id=38643#toc Repository: r

r251507 - When running clang with an arm triple such as '--target=thumbv7m-none-eabi'

2015-10-28 Thread Alexandros Lamprineas via cfe-commits
Author: alelab01 Date: Wed Oct 28 05:10:03 2015 New Revision: 251507 URL: http://llvm.org/viewvc/llvm-project?rev=251507&view=rev Log: When running clang with an arm triple such as '--target=thumbv7m-none-eabi' that has a thumb only CPU by default (cortex-m3), and when using the assembler, the def

Re: [PATCH] D14121: Thumb state not being passed through to LLVM triple when using clang -cc1as

2015-10-28 Thread Renato Golin via cfe-commits
rengolin added a comment. LGTM, thanks! http://reviews.llvm.org/D14121 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] r251503 - clang-tools-extra/test/clang-tidy/modernize-redundant-void-arg.c: Use provided by clang, instead of .

2015-10-28 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Wed Oct 28 04:22:21 2015 New Revision: 251503 URL: http://llvm.org/viewvc/llvm-project?rev=251503&view=rev Log: clang-tools-extra/test/clang-tidy/modernize-redundant-void-arg.c: Use provided by clang, instead of . Modified: clang-tools-extra/trunk/test/clang-tidy/moder

Re: [PATCH] D14121: Thumb state not being passed through to LLVM triple when using clang -cc1as

2015-10-28 Thread Alexandros Lamprineas via cfe-commits
labrinea updated this revision to Diff 38633. labrinea added a comment. I think the patch is now in it's final shape: - kept TY_PP_Asm check - added darwin and armv7m in checks in tests - cached IsMProfile - used ARM::parseArchVersion http://reviews.llvm.org/D14121 Files: lib/Driver/ToolChai