r247967 - Driver: avoid unnecessary string based operations

2015-09-17 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Fri Sep 18 00:32:23 2015 New Revision: 247967 URL: http://llvm.org/viewvc/llvm-project?rev=247967&view=rev Log: Driver: avoid unnecessary string based operations Use an enumeration and change the use of the FloatABI from a string to the enumeration. This avoids the use of

Re: [PATCH] D12832: [Driver] Add support for Windows 10 SDK

2015-09-17 Thread Igor Kudrin via cfe-commits
ikudrin added a comment. Please, can someone commit the changes as I don't have write permissions? http://reviews.llvm.org/D12832 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D12571: [Analyzer] Fix assertions in commit r246345 (pr22954).

2015-09-17 Thread Devin Coughlin via cfe-commits
dcoughlin added a comment. Here is a reduced test case: class B { public: B &operator= (const B &v) { return *this; } }; class A { int a[1]; B b; }; typedef long int ptrdiff_t; void copyInto(A *first, A *last, A *result) { ptrdiff_t n; for

Re: [PATCH] D12903: Add -fplugin=name.so option to the driver

2015-09-17 Thread Saleem Abdulrasool via cfe-commits
compnerd added a comment. Do you know if GCC requires the = or can you do -fplugin name.so ? Repository: rL LLVM http://reviews.llvm.org/D12903 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo

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

2015-09-17 Thread Gábor Horváth via cfe-commits
xazax.hun added a comment. In http://reviews.llvm.org/D12906#248418, @honggyu.kim wrote: > (3) bug type (bug message) As far as I remember the other version of this patch exclude any message that is displayed to the user deliberately, to make the hash more resilient to changes to those string

r247966 - [Concepts] Moving tests to match the corresponding section of the TS

2015-09-17 Thread Nathan Wilson via cfe-commits
Author: nwilson Date: Thu Sep 17 21:50:53 2015 New Revision: 247966 URL: http://llvm.org/viewvc/llvm-project?rev=247966&view=rev Log: [Concepts] Moving tests to match the corresponding section of the TS Added: cfe/trunk/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.concept/p1.cpp - copied u

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

2015-09-17 Thread Honggyu Kim via cfe-commits
honggyu.kim added a comment. You made a comment while I was writing other comment :) In http://reviews.llvm.org/D12906#248392, @zaks.anna wrote: > This new patch does not seem to build on top of > http://reviews.llvm.org/D10305 but is an alternative way of generating the > hash that reuses a l

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

2015-09-17 Thread Honggyu Kim via cfe-commits
honggyu.kim added a comment. Just to make it simpler to understand, original strings of issue_hash are as below with this patch: BUG 1 3$returna;$Garbage return value BUG 2 3$intb=a;$Assigned value is garbage or undefined BUG 3 3$returna;$Garbage return value This consists of the 3 f

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

2015-09-17 Thread Gábor Horváth via cfe-commits
xazax.hun added a comment. I was thinking a bit more, what would be the best way to determine what should we include in the hash. In order to determine that first we need to define the scope of the hash itself. There are several sensible choices such as: - identify bugs that were generated by

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

2015-09-17 Thread Gábor Horváth via cfe-commits
xazax.hun added a comment. I can see two very differen directions on the two version of this patch. I think this is bad and we should pick one. In the other version we started to exclude some of the stuff (like filename) from the hash, since it is available already in the plist and gives the p

Re: [PATCH] D12571: [Analyzer] Fix assertions in commit r246345 (pr22954).

2015-09-17 Thread Devin Coughlin via cfe-commits
dcoughlin added inline comments. Comment at: lib/StaticAnalyzer/Checkers/CStringChecker.cpp:198 @@ +197,3 @@ + + // Return true if the destination buffer of the copy function must/may be in + // bound. Since this returns true on unknown, it should be "may". ===

Re: [PATCH] D12119: Analyzer: Fix a crasher in UbigraphViz

2015-09-17 Thread Anna Zaks via cfe-commits
zaks.anna accepted this revision. zaks.anna added a comment. This revision is now accepted and ready to land. Otherwise, LGTM. http://reviews.llvm.org/D12119 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailm

Re: [PATCH] D12119: Analyzer: Fix a crasher in UbigraphViz

2015-09-17 Thread Anna Zaks via cfe-commits
zaks.anna added a comment. I see, Maybe we should add a new test file to test this instead of adding it to an existing test. http://reviews.llvm.org/D12119 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailma

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

2015-09-17 Thread Anna Zaks via cfe-commits
zaks.anna added a comment. This new patch does not seem to build on top of http://reviews.llvm.org/D10305 but is an alternative way of generating the hash that reuses a lot of the building blocks from the other patch. What is the reason for that? (It also addresses your comment to this patch an

Re: [PATCH] D12761: MPI-Checker patch for Clang Static Analyzer

2015-09-17 Thread Anna Zaks via cfe-commits
zaks.anna added a comment. > > It's more user friendly to report this issue at the last point where the > > request is available rather than the last line of the function. > > > This looks similar to leak report checking. Is it? > > > Yes, that's not very common but possible. > Does th

r247959 - clang/test/Driver/myriad-toolchain.c: Tweak for DOSish path.

2015-09-17 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Thu Sep 17 20:02:50 2015 New Revision: 247959 URL: http://llvm.org/viewvc/llvm-project?rev=247959&view=rev Log: clang/test/Driver/myriad-toolchain.c: Tweak for DOSish path. Modified: cfe/trunk/test/Driver/myriad-toolchain.c Modified: cfe/trunk/test/Driver/myriad-toolcha

Re: [PATCH] D12916: [Static Analyzer] Use generics related information to infer dynamic types.

2015-09-17 Thread Anna Zaks via cfe-commits
zaks.anna added inline comments. Comment at: lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:871 @@ +870,3 @@ + if (RetRegion && !State->get(RetRegion)) { +// TODO: we have duplicated information in DynamicTypeMap and +// MostSpecializedTypeArgsMap. We should only

Re: [PATCH] D10881: [Sema] Catch a case when 'volatile' qualifier is dropped while binding

2015-09-17 Thread ~paul via cfe-commits
cynecx added a comment. Hi :), First of all, I would like to say that I am new into all the clang stuff (software architecture/internal concepts) but I wanted to start hacking clang so I went here to check out some ##trivial## clang bugs to fix so I can learn internal stuff about clang, with i

Re: [PATCH] D12379: Fix the bugs in the mapDiagnosticRanges (Still in progress)

2015-09-17 Thread Zhengkai Wu via cfe-commits
zhengkai marked 2 inline comments as done. Comment at: lib/Frontend/DiagnosticRenderer.cpp:455 @@ -419,1 +454,3 @@ +static bool checkLocForMacroArgExpansion(SourceLocation Loc, + const SourceManager &SM, Because the functi

LLVM buildmaster will be restarted tonight

2015-09-17 Thread Galina Kistanova via cfe-commits
Hello everyone, LLVM buildmaster will be restarted after 6 PM Pacific time today. Thanks Galina ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D10370: clang-format: Implement AlwaysBreakAfterDeclarationReturnType.

2015-09-17 Thread strager via cfe-commits
strager updated this revision to Diff 35038. strager added a comment. Fix missing IsDefinition check in ContinuationIndenter::canBreak. http://reviews.llvm.org/D10370 Files: docs/ClangFormatStyleOptions.rst include/clang/Format/Format.h lib/Format/ContinuationIndenter.cpp lib/Format/For

Re: [PATCH] D10370: clang-format: Implement AlwaysBreakAfterDeclarationReturnType.

2015-09-17 Thread strager via cfe-commits
strager added inline comments. Comment at: docs/ClangFormatStyleOptions.rst:221-235 @@ -220,3 +220,17 @@ -**AlwaysBreakAfterDefinitionReturnType** (``DefinitionReturnTypeBreakingStyle``) +**AlwaysBreakAfterDeclarationReturnType** (``ReturnTypeBreakingStyle``) + The function de

r247948 - [Myriad]: add "/include" to standard search path

2015-09-17 Thread Douglas Katzman via cfe-commits
Author: dougk Date: Thu Sep 17 16:20:16 2015 New Revision: 247948 URL: http://llvm.org/viewvc/llvm-project?rev=247948&view=rev Log: [Myriad]: add "/include" to standard search path Modified: cfe/trunk/lib/Driver/ToolChains.cpp cfe/trunk/lib/Driver/ToolChains.h cfe/trunk/test/Driver/my

Re: [PATCH] D1623: Support __builtin_ms_va_list.

2015-09-17 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL247941: Support __builtin_ms_va_list. (authored by cdavis). Changed prior to commit: http://reviews.llvm.org/D1623?vs=34728&id=35036#toc Repository: rL LLVM http://reviews.llvm.org/D1623 Files: cf

[PATCH] D12945: [PATCH] Add checker for objects that should not be value types

2015-09-17 Thread Aaron Ballman via cfe-commits
aaron.ballman created this revision. aaron.ballman added reviewers: alexfh, klimek. aaron.ballman added a subscriber: cfe-commits. Some object types are not meant to be used as a value type in all circumstances, but the language (mainly C) does not provide facilities for marking these types as n

r247941 - Support __builtin_ms_va_list.

2015-09-17 Thread Charles Davis via cfe-commits
Author: cdavis Date: Thu Sep 17 15:55:33 2015 New Revision: 247941 URL: http://llvm.org/viewvc/llvm-project?rev=247941&view=rev Log: Support __builtin_ms_va_list. Summary: This change adds support for `__builtin_ms_va_list`, a GCC extension for variadic `ms_abi` functions. The existing `__builtin

Re: [PATCH] D12917: [CUDA] Allow parsing of host and device code simultaneously.

2015-09-17 Thread Eric Christopher via cfe-commits
echristo accepted this revision. echristo added a comment. This revision is now accepted and ready to land. Works for me. Thanks! -eric http://reviews.llvm.org/D12917 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi

Re: [PATCH] D1623: Support __builtin_ms_va_list.

2015-09-17 Thread Reid Kleckner via cfe-commits
rnk accepted this revision. rnk added a comment. This revision is now accepted and ready to land. I think this is ready. http://reviews.llvm.org/D1623 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/list

Re: [PATCH] D12917: [CUDA] Allow parsing of host and device code simultaneously.

2015-09-17 Thread Artem Belevich via cfe-commits
tra marked 2 inline comments as done. Comment at: lib/Frontend/CompilerInstance.cpp:82-87 @@ -84,6 +81,8 @@ +void CompilerInstance::setTarget(TargetInfo *Value) { Target = Value; } +void CompilerInstance::setAuxTarget(TargetInfo *Value) { AuxTarget = Value; } void CompilerInsta

Re: [PATCH] D12917: [CUDA] Allow parsing of host and device code simultaneously.

2015-09-17 Thread Artem Belevich via cfe-commits
tra updated this revision to Diff 35031. tra marked an inline comment as done. tra added a comment. Updated to address Eric's comments. http://reviews.llvm.org/D12917 Files: include/clang/AST/ASTContext.h include/clang/Basic/Builtins.h include/clang/Driver/CC1Options.td include/clang/Fr

Re: [PATCH] D1623: Support __builtin_ms_va_list.

2015-09-17 Thread Charles Davis via cfe-commits
cdavis5x added a comment. Ping... http://reviews.llvm.org/D1623 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: r247932 - Try to unbreak windows compiler after r247926.

2015-09-17 Thread David Blaikie via cfe-commits
On Thu, Sep 17, 2015 at 1:25 PM, Douglas Katzman via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: dougk > Date: Thu Sep 17 15:25:09 2015 > New Revision: 247932 > > URL: http://llvm.org/viewvc/llvm-project?rev=247932&view=rev > Log: > Try to unbreak windows compiler after r247926. > >

r247933 - Using MD_invariant_group

2015-09-17 Thread Piotr Padlewski via cfe-commits
Author: prazek Date: Thu Sep 17 15:25:46 2015 New Revision: 247933 URL: http://llvm.org/viewvc/llvm-project?rev=247933&view=rev Log: Using MD_invariant_group http://reviews.llvm.org/D12927 Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp UR

r247932 - Try to unbreak windows compiler after r247926.

2015-09-17 Thread Douglas Katzman via cfe-commits
Author: dougk Date: Thu Sep 17 15:25:09 2015 New Revision: 247932 URL: http://llvm.org/viewvc/llvm-project?rev=247932&view=rev Log: Try to unbreak windows compiler after r247926. It might not like {} implicitly cast to an Arrayref. That's the theory, since I can't test it. Modified: cfe/trun

r247930 - Fixed the comment to match reality.

2015-09-17 Thread Artem Belevich via cfe-commits
Author: tra Date: Thu Sep 17 15:19:33 2015 New Revision: 247930 URL: http://llvm.org/viewvc/llvm-project?rev=247930&view=rev Log: Fixed the comment to match reality. Modified: cfe/trunk/include/clang/Frontend/CompilerInstance.h Modified: cfe/trunk/include/clang/Frontend/CompilerInstance.h UR

r247926 - [Shave]: Rename test file from 'shave-' to 'myriad-'

2015-09-17 Thread Douglas Katzman via cfe-commits
Author: dougk Date: Thu Sep 17 15:00:09 2015 New Revision: 247926 URL: http://llvm.org/viewvc/llvm-project?rev=247926&view=rev Log: [Shave]: Rename test file from 'shave-' to 'myriad-' Added: cfe/trunk/test/Driver/myriad-toolchain.c - copied, changed from r247924, cfe/trunk/test/Driver/

Re: [PATCH] D11693: clang-format: Support generalized lambda captures.

2015-09-17 Thread strager via cfe-commits
strager marked 2 inline comments as done. Comment at: lib/Format/UnwrappedLineParser.cpp:1060-1061 @@ +1059,4 @@ + nextToken(); + while (!eof()) { +// FIXME: Once we have an expression parser in the UnwrappedLineParser, +// replace this by using parseAssi

Re: [PATCH] D12917: [CUDA] Allow parsing of host and device code simultaneously.

2015-09-17 Thread Eric Christopher via cfe-commits
echristo added a comment. One inline request and one inline comment, otherwise looks pretty good! Thanks :) -eric Comment at: include/clang/Frontend/CompilerInstance.h:355 @@ -350,3 +354,3 @@ - /// Replace the current diagnostics engine. + /// Replace the current Target.

Re: [PATCH] D12541: [Sparc][Shave]: Empower the toolchain formerly known as SHAVE to do more.

2015-09-17 Thread Douglas Katzman via cfe-commits
This revision was automatically updated to reflect the committed changes. dougk marked 2 inline comments as done. Closed by commit rL247924: [Shave]: Drive sparc-myriad-elf-ld directly rather than via gcc. (authored by dougk). Changed prior to commit: http://reviews.llvm.org/D12541?vs=34998&id=

r247924 - [Shave]: Drive sparc-myriad-elf-ld directly rather than via gcc.

2015-09-17 Thread Douglas Katzman via cfe-commits
Author: dougk Date: Thu Sep 17 14:56:40 2015 New Revision: 247924 URL: http://llvm.org/viewvc/llvm-project?rev=247924&view=rev Log: [Shave]: Drive sparc-myriad-elf-ld directly rather than via gcc. Differential Revision: http://reviews.llvm.org/D12541 Added: cfe/trunk/test/Driver/Inputs/basic

Re: [PATCH] D12927: Using MD_invariant_group

2015-09-17 Thread Richard Smith via cfe-commits
rsmith accepted this revision. rsmith added a comment. This revision is now accepted and ready to land. LGTM http://reviews.llvm.org/D12927 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co

Re: [PATCH] D12921: clang-format: Support 'template<>' (no space).

2015-09-17 Thread Daniel Jasper via cfe-commits
Lets says this: I am not happy about it and wouldn't allow it if it was added now. However, *removing* it actually has additional costs, so I am not inclined to do so now. On Thu, Sep 17, 2015 at 9:52 PM, strager wrote: > strager added a comment. > > Should we remove `ObjCSpaceBeforeProtocolList

Re: [PATCH] D12921: clang-format: Support 'template<>' (no space).

2015-09-17 Thread strager via cfe-commits
strager added a comment. Should we remove `ObjCSpaceBeforeProtocolList`? It has the same problem as the `SpaceAfterTemplateKeyword` I am introducing. http://reviews.llvm.org/D12921 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://list

Re: [PATCH] D12916: [Static Analyzer] Use generics related information to infer dynamic types.

2015-09-17 Thread Gábor Horváth via cfe-commits
xazax.hun marked an inline comment as done. Comment at: lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:871 @@ +870,3 @@ + if (RetRegion && !State->get(RetRegion)) { +// TODO: we have duplicated information in DynamicTypeMap and +// MostSpecializedTypeArgsMap. We s

Re: [PATCH] D12916: [Static Analyzer] Use generics related information to infer dynamic types.

2015-09-17 Thread Gábor Horváth via cfe-commits
xazax.hun updated this revision to Diff 35027. xazax.hun added a comment. Addressed the comments. http://reviews.llvm.org/D12916 Files: lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp test/Analysis/DynamicTypePropagation.m Index: test/Analysis/DynamicTypePropagation.m ==

Re: [PATCH] D12916: [Static Analyzer] Use generics related information to infer dynamic types.

2015-09-17 Thread Anna Zaks via cfe-commits
zaks.anna added inline comments. Comment at: lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp:871 @@ +870,3 @@ + if (RetRegion) { +State = setDynamicTypeInfo(State, RetRegion, ResultType, + /*CanBeSubclass=*/true); Would it

r247912 - [CMake] Add install-clang target to install just the clang executable

2015-09-17 Thread Chris Bieneman via cfe-commits
Author: cbieneman Date: Thu Sep 17 13:30:20 2015 New Revision: 247912 URL: http://llvm.org/viewvc/llvm-project?rev=247912&view=rev Log: [CMake] Add install-clang target to install just the clang executable For the llvm-tools we're generating install-${tool} targets which are very useful. We shou

Re: [PATCH] D12501: [clang-format] Obj-C dictionary literals: Fixed typecast getting put on a separate line from the key

2015-09-17 Thread Kent Sutherland via cfe-commits
ksuther added inline comments. Comment at: lib/Format/TokenAnnotator.cpp:377 @@ -376,1 +376,3 @@ +(!Contexts.back().ColonIsDictLiteral || + Style.Language != FormatStyle::LK_Cpp)) || Style.Language == FormatStyle::LK_Proto) && --

Re: [PATCH] D12917: [CUDA] Allow parsing of host and device code simultaneously.

2015-09-17 Thread Artem Belevich via cfe-commits
tra marked an inline comment as done. tra added a comment. In http://reviews.llvm.org/D12917#247868, @jpienaar wrote: > Nice, so this will allow parsing/AST construction with builtins from 2 > architectures but will fail to compile if a builtin for the host/device is > called from device/host.

Re: [PATCH] D12917: [CUDA] Allow parsing of host and device code simultaneously.

2015-09-17 Thread Artem Belevich via cfe-commits
tra updated this revision to Diff 35015. tra marked an inline comment as done. tra added a comment. cosmetic fixes. http://reviews.llvm.org/D12917 Files: include/clang/AST/ASTContext.h include/clang/Basic/Builtins.h include/clang/Driver/CC1Options.td include/clang/Frontend/CompilerInsta

Re: [PATCH] D12903: Add -fplugin=name.so option to the driver

2015-09-17 Thread John Brawn via cfe-commits
john.brawn retitled this revision from "Allow the -load option in the driver and pass it through to -cc1" to "Add -fplugin=name.so option to the driver". john.brawn updated the summary for this revision. john.brawn updated this revision to Diff 35014. john.brawn added a comment. Rename option fro

r247902 - Use the MSVC SEH personalities on Mingw

2015-09-17 Thread Reid Kleckner via cfe-commits
Author: rnk Date: Thu Sep 17 12:04:13 2015 New Revision: 247902 URL: http://llvm.org/viewvc/llvm-project?rev=247902&view=rev Log: Use the MSVC SEH personalities on Mingw Mingw generally wraps an old copy of msvcrt.dll which has these personalities, so things should work out, or so I hear. I haven

Re: [PATCH] D12832: [Driver] Add support for Windows 10 SDK

2015-09-17 Thread Igor Kudrin via cfe-commits
ikudrin marked an inline comment as done. ikudrin added a comment. http://reviews.llvm.org/D12832 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D12832: [Driver] Add support for Windows 10 SDK

2015-09-17 Thread Igor Kudrin via cfe-commits
ikudrin updated this revision to Diff 35013. ikudrin added a comment. Skip directories like C:\Program Files (x86)\Windows Kits\10\Include\wdf, which come from WDK installation, when looking for SDK version. Now, we detect directories even better than vsvars32.bat in that situation. http://rev

r247900 - createOutputFile should set Error to something if it returns null.

2015-09-17 Thread Douglas Katzman via cfe-commits
Author: dougk Date: Thu Sep 17 11:45:12 2015 New Revision: 247900 URL: http://llvm.org/viewvc/llvm-project?rev=247900&view=rev Log: createOutputFile should set Error to something if it returns null. This is not portably unit-testable because the only visible effect is a change from one random mes

Re: [PATCH] D11693: clang-format: Support generalized lambda captures.

2015-09-17 Thread Daniel Jasper via cfe-commits
djasper added inline comments. Comment at: lib/Format/UnwrappedLineParser.cpp:1060-1061 @@ +1059,4 @@ + nextToken(); + while (!eof()) { +// FIXME: Once we have an expression parser in the UnwrappedLineParser, +// replace this by using parseAssigmentExpres

Re: [PATCH] D12541: [Sparc][Shave]: Empower the toolchain formerly known as SHAVE to do more.

2015-09-17 Thread James Y Knight via cfe-commits
jyknight accepted this revision. jyknight added a comment. This revision is now accepted and ready to land. Other than minor comments, lgtm. Comment at: lib/Driver/ToolChains.cpp:3937 @@ +3936,3 @@ + default: +llvm_unreachable("Unsupported architecture"); + case llvm::Trip

Re: [PATCH] D12922: Add support for function attribute "notail"

2015-09-17 Thread Duncan P. N. Exon Smith via cfe-commits
dexonsmith added a subscriber: dexonsmith. dexonsmith added a comment. I wonder if 'notailcall' be better, since it contains a verb (like 'noinline'). I don't have a strong opinion; just putting the alternative out there. http://reviews.llvm.org/D12922 __

Re: [PATCH] D12922: Add support for function attribute "notail"

2015-09-17 Thread Duncan P. N. Exon Smith via cfe-commits
I wonder if 'notailcall' be better, since it contains a verb (like 'noinline'). I don't have a strong opinion; just putting the alternative out there. > On 2015-Sep-16, at 19:21, Akira Hatanaka via cfe-commits > wrote: > > ahatanak created this revision. > ahatanak added a reviewer: aaron.bal

Re: [PATCH] D12832: [Driver] Add support for Windows 10 SDK

2015-09-17 Thread Igor Kudrin via cfe-commits
ikudrin added a comment. I found a new problem, after install WDK. I'll submit a new version in a moment. http://reviews.llvm.org/D12832 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi

Re: [PATCH] D12501: [clang-format] Obj-C dictionary literals: Fixed typecast getting put on a separate line from the key

2015-09-17 Thread Daniel Jasper via cfe-commits
djasper added inline comments. Comment at: lib/Format/TokenAnnotator.cpp:377 @@ -376,1 +376,3 @@ +(!Contexts.back().ColonIsDictLiteral || + Style.Language != FormatStyle::LK_Cpp)) || Style.Language == FormatStyle::LK_Proto) && --

Re: [PATCH] D12903: Allow the -load option in the driver and pass it through to -cc1

2015-09-17 Thread John Brawn via cfe-commits
john.brawn added a comment. In http://reviews.llvm.org/D12903#247934, @compnerd wrote: > While I agree that this makes the option much nicer to use, it collides with > the -l flag. Since it was an internal only option until this point, we > should rename it before exposing it at the driver lev

Re: [PATCH] D12832: [Driver] Add support for Windows 10 SDK

2015-09-17 Thread Reid Kleckner via cfe-commits
rnk accepted this revision. rnk added a comment. This revision is now accepted and ready to land. Looks like I forgot to submit the comments I wrote. Anyway, looks good. Comment at: cfe/trunk/lib/Driver/MSVCToolChain.cpp:238 @@ +237,3 @@ + continue; +const StringRef Can

r247895 - Fix a typo.

2015-09-17 Thread Adrian Prantl via cfe-commits
Author: adrian Date: Thu Sep 17 10:58:54 2015 New Revision: 247895 URL: http://llvm.org/viewvc/llvm-project?rev=247895&view=rev Log: Fix a typo. Modified: cfe/trunk/docs/Modules.rst Modified: cfe/trunk/docs/Modules.rst URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/Modules.rst?rev=

Re: [PATCH] D12903: Allow the -load option in the driver and pass it through to -cc1

2015-09-17 Thread Saleem Abdulrasool via cfe-commits
compnerd added a subscriber: compnerd. compnerd added a comment. While I agree that this makes the option much nicer to use, it collides with the -l flag. Since it was an internal only option until this point, we should rename it before exposing it at the driver level. Repository: rL LLVM

[PATCH] D12938: [ARM] Handle +t2dsp feature as an ArchExtKind in ARMTargetParser.def

2015-09-17 Thread A. Skrobov via cfe-commits
tyomitch created this revision. tyomitch added reviewers: labrinea, rengolin. tyomitch added a subscriber: cfe-commits. Herald added subscribers: rengolin, aemerson. Currently, the availability of DSP instructions (ACLE 6.4.7) is handled in a hand-rolled tricky condition block in lib/Basic/Target

Re: [PATCH] D12489: [clang-format] Fixed missing space between Obj-C for/in and a typecast

2015-09-17 Thread Kent Sutherland via cfe-commits
ksuther added a comment. Adding another comment in hopes of getting some visibility on this. Do I need to add other people as reviewers? http://reviews.llvm.org/D12489 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cg

Re: [PATCH] D12501: [clang-format] Obj-C dictionary literals: Fixed typecast getting put on a separate line from the key

2015-09-17 Thread Kent Sutherland via cfe-commits
ksuther added a comment. Adding another comment in hopes of getting some visibility on this. Do I need to add other people as reviewers? http://reviews.llvm.org/D12501 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cg

Re: [PATCH] D12541: [Sparc][Shave]: Empower the toolchain formerly known as SHAVE to do more.

2015-09-17 Thread Douglas Katzman via cfe-commits
dougk updated this revision to Diff 34998. dougk marked 3 inline comments as done. dougk added a comment. Use the same logic as Solaris::Solaris to die in the toolchain constructor if getArch() is unexpected. Also don't hardcode -EL in linker. http://reviews.llvm.org/D12541 Files: lib/Driver

r247892 - re-apply r.247881

2015-09-17 Thread Asaf Badouh via cfe-commits
Author: abadouh Date: Thu Sep 17 09:53:37 2015 New Revision: 247892 URL: http://llvm.org/viewvc/llvm-project?rev=247892&view=rev Log: re-apply r.247881 fixed the tests. Modified: cfe/trunk/include/clang/Basic/BuiltinsX86.def cfe/trunk/lib/Headers/avx512dqintrin.h cfe/trunk/test/CodeGe

Re: [PATCH] D12904: fix for assertion fail for pragma weak on typedef

2015-09-17 Thread Aaron Ballman via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a reviewer: aaron.ballman. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM with one minor nit. Comment at: lib/Sema/Sema.cpp:729 @@ +728,3 @@ + Diag(WeakID.second.getLocation(), d

Re: [PATCH] D12700: [clang-tidy] install helper scripts in CMake build

2015-09-17 Thread Alexander Kornienko via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL247890: [clang-tidy] install helper scripts (authored by alexfh). Changed prior to commit: http://reviews.llvm.org/D12700?vs=34953&id=34997#toc Repository: rL LLVM http://reviews.llvm.org/D12700 Fi

Re: [PATCH] D12700: [clang-tidy] install helper scripts in CMake build

2015-09-17 Thread Alexander Kornienko via cfe-commits
alexfh added a comment. LG. Thanks! Repository: rL LLVM http://reviews.llvm.org/D12700 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] r247890 - [clang-tidy] install helper scripts

2015-09-17 Thread Alexander Kornienko via cfe-commits
Author: alexfh Date: Thu Sep 17 09:37:26 2015 New Revision: 247890 URL: http://llvm.org/viewvc/llvm-project?rev=247890&view=rev Log: [clang-tidy] install helper scripts Scripts are installed in same location as clang-fromat ones, so I think will be good idea to not create dedicated directory. I

Re: [PATCH] D12917: [CUDA] Allow parsing of host and device code simultaneously.

2015-09-17 Thread Jacques Pienaar via cfe-commits
jpienaar added a comment. Nice, so this will allow parsing/AST construction with builtins from 2 architectures but will fail to compile if a builtin for the host/device is called from device/host. You mention this is not generally possible. Can you give some examples? Comment

[clang-tools-extra] r247889 - Add a test to modernize-loop-convert.

2015-09-17 Thread Angel Garcia Gomez via cfe-commits
Author: angelgarcia Date: Thu Sep 17 09:25:39 2015 New Revision: 247889 URL: http://llvm.org/viewvc/llvm-project?rev=247889&view=rev Log: Add a test to modernize-loop-convert. Summary: Add the test about replacements in several arguments of the same macro call, now that the problem has been fixe

Re: [PATCH] D12933: Add a test to modernize-loop-convert.

2015-09-17 Thread Angel Garcia via cfe-commits
angelgarcia updated this revision to Diff 34993. angelgarcia added a comment. Done. http://reviews.llvm.org/D12933 Files: test/clang-tidy/modernize-loop-convert-extra.cpp Index: test/clang-tidy/modernize-loop-convert-extra.cpp =

Re: [PATCH] D12933: Add a test to modernize-loop-convert.

2015-09-17 Thread Alexander Kornienko via cfe-commits
alexfh accepted this revision. alexfh added a comment. This revision is now accepted and ready to land. LG with a comment. Comment at: test/clang-tidy/modernize-loop-convert-extra.cpp:705 @@ -704,16 +704,3 @@ - // FIXME: Right now, clang-tidy does not allow to make insertions

Re: [PATCH] D12904: fix for assertion fail for pragma weak on typedef

2015-09-17 Thread Alexander Musman via cfe-commits
amusman updated this revision to Diff 34987. amusman added a comment. Hi Aaron, Thank you for review. I've updated the warning for such cases. Regards, Alexander http://reviews.llvm.org/D12904 Files: lib/Sema/Sema.cpp lib/Sema/SemaDecl.cpp test/CodeGen/pragma-weak.c Index: lib/Sema/Sem

[PATCH] D12933: Add a test to modernize-loop-convert.

2015-09-17 Thread Angel Garcia via cfe-commits
angelgarcia created this revision. angelgarcia added a reviewer: alexfh. angelgarcia added subscribers: klimek, cfe-commits. Add the test about replacements in several arguments of the same macro call, now that the problem has been fixed. http://reviews.llvm.org/D12933 Files: test/clang-tidy/

Re: [cfe-commits] r171885 - in /cfe/trunk/www/analyzer: annotations.html available_checks.html dev_cxx.html index.html xcode.html

2015-09-17 Thread Aaron Ballman via cfe-commits
Sorry to resurrect an ancient commit, but... On Tue, Jan 8, 2013 at 2:29 PM, Jordan Rose wrote: > Author: jrose > Date: Tue Jan 8 13:29:37 2013 > New Revision: 171885 > > URL: http://llvm.org/viewvc/llvm-project?rev=171885&view=rev > Log: > Various tweaks and updates to the analyzer website. > >

Re: [PATCH] D12921: clang-format: Support 'template<>' (no space).

2015-09-17 Thread Daniel Jasper via cfe-commits
On Thu, Sep 17, 2015 at 12:17 PM, Paul Hoad wrote: > MyDeveloperDay added a comment. > > > The point here that it this space is utterly irrelevant > > > So I totally take the point but if it doesn't matter then why does > clang-format automatically add one to my "template<>" why not simply leave

r247887 - Update the 3.8 release notes with the breaking change information regarding AST matchers.

2015-09-17 Thread Aaron Ballman via cfe-commits
Author: aaronballman Date: Thu Sep 17 08:47:22 2015 New Revision: 247887 URL: http://llvm.org/viewvc/llvm-project?rev=247887&view=rev Log: Update the 3.8 release notes with the breaking change information regarding AST matchers. Modified: cfe/trunk/docs/ReleaseNotes.rst Modified: cfe/trunk/

[clang-tools-extra] r247886 - Refactors AST matching code to use the new AST matcher names. This patch correlates to r247885 which performs the AST matcher rename in Clang.

2015-09-17 Thread Aaron Ballman via cfe-commits
Author: aaronballman Date: Thu Sep 17 08:31:25 2015 New Revision: 247886 URL: http://llvm.org/viewvc/llvm-project?rev=247886&view=rev Log: Refactors AST matching code to use the new AST matcher names. This patch correlates to r247885 which performs the AST matcher rename in Clang. Modified:

Re: recordDecl() AST matcher

2015-09-17 Thread Aaron Ballman via cfe-commits
I've commit in r247885 and r247886. I will add something to the release notes, and watch the bots to see if any tests got missed (since I did my development on Windows). Thank you! ~Aaron On Wed, Sep 16, 2015 at 7:49 PM, Manuel Klimek wrote: > LG, ship it. > > On Wed, Sep 16, 2015 at 2:03 PM Aa

Re: [PATCH] D12797: Refactor LoopConvertCheck.

2015-09-17 Thread Angel Garcia via cfe-commits
angelgarcia updated this revision to Diff 34985. angelgarcia added a comment. Split a function and several other small changes. http://reviews.llvm.org/D12797 Files: clang-tidy/modernize/LoopConvertCheck.cpp clang-tidy/modernize/LoopConvertCheck.h test/clang-tidy/modernize-loop-convert-ba

Re: [PATCH] D12797: Refactor LoopConvertCheck.

2015-09-17 Thread Angel Garcia via cfe-commits
angelgarcia marked 9 inline comments as done. Comment at: clang-tidy/modernize/LoopConvertCheck.cpp:494-495 @@ -493,4 +502,2 @@ } else { - if (Descriptor.DerefByConstRef) -AutoRefType = Context->getConstType(AutoRefType); AutoRefType = Context->getLValueRe

r247883 - revert r.247881 due to tests failures

2015-09-17 Thread Asaf Badouh via cfe-commits
Author: abadouh Date: Thu Sep 17 08:09:33 2015 New Revision: 247883 URL: http://llvm.org/viewvc/llvm-project?rev=247883&view=rev Log: revert r.247881 due to tests failures Modified: cfe/trunk/include/clang/Basic/BuiltinsX86.def cfe/trunk/lib/Headers/avx512dqintrin.h cfe/trunk/test/Cod

RE: r247882 - Appease clang/test/CodeGen/avx512dq-builtins.c for -Asserts, for now.

2015-09-17 Thread Badouh, Asaf via cfe-commits
I’m working on revert the patch and fix it. Will take a moment. From: NAKAMURA Takumi [mailto:geek4ci...@gmail.com] Sent: Thursday, September 17, 2015 16:04 To: cfe-commits@lists.llvm.org Cc: Badouh, Asaf Subject: Re: r247882 - Appease clang/test/CodeGen/avx512dq-builtins.c for -Asserts, for now.

Re: r247882 - Appease clang/test/CodeGen/avx512dq-builtins.c for -Asserts, for now.

2015-09-17 Thread NAKAMURA Takumi via cfe-commits
-Asserts was not culprit. On Thu, Sep 17, 2015 at 9:35 PM NAKAMURA Takumi via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: chapuni > Date: Thu Sep 17 07:33:34 2015 > New Revision: 247882 > > URL: http://llvm.org/viewvc/llvm-project?rev=247882&view=rev > Log: > Appease clang/test/Cod

Re: [PATCH] D12761: MPI-Checker patch for Clang Static Analyzer

2015-09-17 Thread Alexander Droste via cfe-commits
Alexander_Droste marked 9 inline comments as done. Alexander_Droste added a comment. Thanks for the review! Comment at: tools/clang/lib/StaticAnalyzer/Checkers/Checkers.td:524 @@ +523,3 @@ +def MPIChecker : Checker<"MPI-Checker">, + HelpText<"Checks MPI code written in C">, +

Re: [PATCH] D12633: Implement ACLE 2.0 macros of chapters 6.6 and 6.7 for [ARM] and [Aarch64] targets

2015-09-17 Thread Richard Barton via cfe-commits
richard.barton.arm added a comment. Hi all I am uncomfortable with this patch for a number of reasons. These macros seem to me to be defined by the ACLE as describing the behaviour of the combination of library and compiler. For example, the __STDC_IEC_599__ macro would need some standards com

r247882 - Appease clang/test/CodeGen/avx512dq-builtins.c for -Asserts, for now.

2015-09-17 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Thu Sep 17 07:33:34 2015 New Revision: 247882 URL: http://llvm.org/viewvc/llvm-project?rev=247882&view=rev Log: Appease clang/test/CodeGen/avx512dq-builtins.c for -Asserts, for now. Modified: cfe/trunk/test/CodeGen/avx512dq-builtins.c Modified: cfe/trunk/test/CodeGen/av

Re: [PATCH] D12903: Allow the -load option in the driver and pass it through to -cc1

2015-09-17 Thread Renato Golin via cfe-commits
rengolin added a comment. Hi John, Looks all right to me, but I don't want to approve without someone more familiar with the -load option to agree that this is not an exclusively internal option. Other than that, I'm happy with it. cheers, --renato Repository: rL LLVM http://reviews.llvm

r247881 - [X86][AVX512DQ] add new intrinsics

2015-09-17 Thread Asaf Badouh via cfe-commits
Author: abadouh Date: Thu Sep 17 06:56:04 2015 New Revision: 247881 URL: http://llvm.org/viewvc/llvm-project?rev=247881&view=rev Log: [X86][AVX512DQ] add new intrinsics convert i64 to FP and vice versa reduceps & reducepd rangeps & rangepd all in their 512bit versions Differential Revision: http

Re: [PATCH] D12903: Allow the -load option in the driver and pass it through to -cc1

2015-09-17 Thread John Brawn via cfe-commits
john.brawn updated this revision to Diff 34977. john.brawn added a comment. Add a test. Repository: rL LLVM http://reviews.llvm.org/D12903 Files: include/clang/Driver/CC1Options.td include/clang/Driver/Options.td lib/Driver/Tools.cpp test/Driver/load.c Index: test/Driver/load.c

Re: [PATCH] D12921: clang-format: Support 'template<>' (no space).

2015-09-17 Thread Paul Hoad via cfe-commits
MyDeveloperDay added a comment. > The point here that it this space is utterly irrelevant So I totally take the point but if it doesn't matter then why does clang-format automatically add one to my "template<>" why not simply leave it alone? > We never intended clang-format to provide control

Re: [PATCH] D12492: [Clang-Format] Add AlwaysBreakBeforeElse and AlwaysBreakBeforeCatch Style to avoid cuddled else/catch

2015-09-17 Thread Daniel Jasper via cfe-commits
djasper added a subscriber: djasper. djasper added a comment. The question is how all the other options should be called and how we can group them nicely so that we don't flood the options configuration page too much. Maybe it's time for nesting in the configuration class? http://reviews.llvm.or

Re: [PATCH] D12492: [Clang-Format] Add AlwaysBreakBeforeElse and AlwaysBreakBeforeCatch Style to avoid cuddled else/catch

2015-09-17 Thread Daniel Jasper via cfe-commits
The question is how all the other options should be called and how we can group them nicely so that we don't flood the options configuration page too much. Maybe it's time for nesting in the configuration class? On Sep 17, 2015 11:50 AM, "Paul Hoad" wrote: > MyDeveloperDay added inline comments.

Re: [PATCH] D12689: [libc++][static linking] std streams are not initialized prior to their use in static object constructors

2015-09-17 Thread Evgeny Astigeevich via cfe-commits
eastig updated this revision to Diff 34973. eastig added a comment. Added tests http://reviews.llvm.org/D12689 Files: include/ios src/iostream.cpp test/std/input.output/iostream.objects/narrow.stream.objects/cerr_init.pass.cpp test/std/input.output/iostream.objects/narrow.stream.object

  1   2   >