Re: [PATCH] D18221: [Concepts] Implement subsection [dcl.spec.concept]p7 of the Concepts TS

2016-04-08 Thread Nathan Wilson via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL265868: [Concepts] Implement subsection [dcl.spec.concept]p7 of the Concepts TS (authored by nwilson). Changed prior to commit: http://reviews.llvm.org/D18221?vs=53103=53110#toc Repository: rL LLVM

r265868 - [Concepts] Implement subsection [dcl.spec.concept]p7 of the Concepts TS

2016-04-08 Thread Nathan Wilson via cfe-commits
Author: nwilson Date: Fri Apr 8 21:55:27 2016 New Revision: 265868 URL: http://llvm.org/viewvc/llvm-project?rev=265868=rev Log: [Concepts] Implement subsection [dcl.spec.concept]p7 of the Concepts TS Summary: A program shall not declare an explicit instantiation (14.8.2), an explicit

Re: [PATCH] D17741: adds __FILE_BASENAME__ builtin macro

2016-04-08 Thread Weiming Zhao via cfe-commits
weimingz updated this revision to Diff 53105. weimingz added a comment. per Alex's suggestion, split into 2 flags: -ffile-macro-prefix-to-remove=xxx : remove matched prefix -ffile-macro-basename-only : remove the whole dir part http://reviews.llvm.org/D17741 Files:

Re: [PATCH] D18914: [clang-tidy] new readability-redundant-inline

2016-04-08 Thread Eugene Zelenko via cfe-commits
Eugene.Zelenko added inline comments. Comment at: docs/clang-tidy/checks/readability-redundant-inline.rst:6 @@ +5,3 @@ + +This check flags redundant 'inline' specifiers. +It flags 'inline' on member functions defined inside a class definition like Please use ``

Re: [PATCH] D18914: [clang-tidy] new readability-redundant-inline

2016-04-08 Thread Eugene Zelenko via cfe-commits
Eugene.Zelenko added a subscriber: Eugene.Zelenko. Eugene.Zelenko added a comment. Please mention this check in docs/ReleaseNotes.rst (in alphabetical order). http://reviews.llvm.org/D18914 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D18221: [Concepts] Implement subsection [dcl.spec.concept]p7 of the Concepts TS

2016-04-08 Thread Nathan Wilson via cfe-commits
nwilson updated this revision to Diff 53103. nwilson added a comment. - Address Aaron's comments by putting comments next to the magic numbers http://reviews.llvm.org/D18221 Files: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaDecl.cpp lib/Sema/SemaTemplate.cpp

[PATCH] D18914: [clang-tidy] new readability-redundant-inline

2016-04-08 Thread Matthias Gehre via cfe-commits
mgehre created this revision. mgehre added reviewers: sbenza, bkramer, aaron.ballman, alexfh. mgehre added a subscriber: cfe-commits. This check flags redundant 'inline' specifiers. It flags 'inline' on member functions defined inside a class definition like .. code-block:: c++ struct S {

Re: [PATCH] D18808: Use the NoDebug emission kind to identify compile units that no debug info should be created from.

2016-04-08 Thread Adrian Prantl via cfe-commits
aprantl closed this revision. aprantl marked an inline comment as done. aprantl added a comment. 265860+265861 http://reviews.llvm.org/D18808 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

r265864 - [Perf-Training] Reworked workflow improvements for order-file generation

2016-04-08 Thread Chris Bieneman via cfe-commits
Author: cbieneman Date: Fri Apr 8 17:48:18 2016 New Revision: 265864 URL: http://llvm.org/viewvc/llvm-project?rev=265864=rev Log: [Perf-Training] Reworked workflow improvements for order-file generation This is re-landing r260742. I've reworked the conditionals so that it only hits when

Re: [PATCH] D17741: adds __FILE_BASENAME__ builtin macro

2016-04-08 Thread Weiming Zhao via cfe-commits
weimingz added a subscriber: weimingz. weimingz added a comment. Sounds good. Will do. Thanks for reviewing http://reviews.llvm.org/D17741 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D17741: adds __FILE_BASENAME__ builtin macro

2016-04-08 Thread Zhao, Weiming via cfe-commits
Sounds good. Will do. Thanks for reviewing On 4/8/2016 11:46 AM, Alex Rosenberg wrote: alexr added a subscriber: alexr. alexr added a comment. There are multiple features in this patch that should be considered separately. Please split the patch. That said, I don't think we want to add a

r265862 - Use NoDebug compile units to mark debug metadata used only for sample-based

2016-04-08 Thread Adrian Prantl via cfe-commits
Author: adrian Date: Fri Apr 8 17:43:06 2016 New Revision: 265862 URL: http://llvm.org/viewvc/llvm-project?rev=265862=rev Log: Use NoDebug compile units to mark debug metadata used only for sample-based profiling and optimization remarks and indicate that no debug info shall be emitted for these

Re: [PATCH] D15032: [clang-tidy] new checker cppcoreguidelines-pro-lifetime

2016-04-08 Thread Matthias Gehre via cfe-commits
mgehre updated this revision to Diff 53097. mgehre added a comment. Update for renaming in http://reviews.llvm.org/D15031 http://reviews.llvm.org/D15032 Files: clang-tidy/cppcoreguidelines/CMakeLists.txt clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp

r265857 - Remove unused functions from ASTWriter interface.

2016-04-08 Thread Richard Smith via cfe-commits
Author: rsmith Date: Fri Apr 8 16:54:32 2016 New Revision: 265857 URL: http://llvm.org/viewvc/llvm-project?rev=265857=rev Log: Remove unused functions from ASTWriter interface. Modified: cfe/trunk/include/clang/Serialization/ASTWriter.h cfe/trunk/lib/Serialization/ASTWriter.cpp

[libcxx] r265856 - Update filesystem status

2016-04-08 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Fri Apr 8 16:52:32 2016 New Revision: 265856 URL: http://llvm.org/viewvc/llvm-project?rev=265856=rev Log: Update filesystem status Modified: libcxx/trunk/www/ts1z_status.html Modified: libcxx/trunk/www/ts1z_status.html URL:

Re: [PATCH] D15031: CFG: Add CFGElement for automatic variables that leave the scope

2016-04-08 Thread Matthias Gehre via cfe-commits
mgehre updated this revision to Diff 53092. mgehre added a comment. Fix assert in LocalScope::const_iterator::distance when using goto to jump over trivially constructable variable declarations Added two test cases for this http://reviews.llvm.org/D15031 Files:

Re: [PATCH] D18551: Added Fixer implementation and fix() interface in clang-format for removing redundant code.

2016-04-08 Thread Daniel Jasper via cfe-commits
djasper added inline comments. Comment at: include/clang/Format/Format.h:769 @@ -768,1 +768,3 @@ +/// \brief Returns the replacements corresponding to applying and fixing +/// \p Replaces. I am actually not sure that fixReplacements is the right terminology

r265848 - PR25501: Delay loading visible updates for a declaration until after we've

2016-04-08 Thread Richard Smith via cfe-commits
Author: rsmith Date: Fri Apr 8 15:53:26 2016 New Revision: 265848 URL: http://llvm.org/viewvc/llvm-project?rev=265848=rev Log: PR25501: Delay loading visible updates for a declaration until after we've processed update records. If an update record adds a definition, we need to merge that with

Re: [PATCH] D18808: Use the NoDebug emission kind to identify compile units that no debug info should be created from.

2016-04-08 Thread David Blaikie via cfe-commits
dblaikie accepted this revision. dblaikie added a comment. This revision is now accepted and ready to land. Looks good, thanks! Sorry for the delays/mthanks for the chat on IRC (summary: no worse than what we have today, more explicit, maybe we can find an alternative and/or more compact

r265844 - Add doxygen comments to emmintrin.h's intrinsics. Only around 25% of the intrinsics in this file are documented now. The patches for the rest of the intrisics in this file will be send out l

2016-04-08 Thread Ekaterina Romanova via cfe-commits
Author: kromanova Date: Fri Apr 8 15:45:48 2016 New Revision: 265844 URL: http://llvm.org/viewvc/llvm-project?rev=265844=rev Log: Add doxygen comments to emmintrin.h's intrinsics. Only around 25% of the intrinsics in this file are documented now. The patches for the rest of the intrisics in

Re: [PATCH] D15524: [GCC] Attribute ifunc support in clang

2016-04-08 Thread Eric Christopher via cfe-commits
echristo added inline comments. Comment at: include/clang/Basic/AttrDocs.td:2371 @@ +2370,3 @@ + +Not all targets support this attribute. ELF targets support this attribute when using binutils v2.20.1 or higher and glibc v2.11.1 or higher. Non-ELF targets currently do not

Re: [PATCH] D15524: [GCC] Attribute ifunc support in clang

2016-04-08 Thread Paul Robinson via cfe-commits
probinson added inline comments. Comment at: include/clang/Basic/AttrDocs.td:2371 @@ +2370,3 @@ + +Not all targets support this attribute. ELF targets support this attribute when using binutils v2.20.1 or higher and glibc v2.11.1 or higher. Non-ELF targets currently do not

r265839 - [analyzer] Teach trackNullOrUndefValue about calls to property accessors.

2016-04-08 Thread Devin Coughlin via cfe-commits
Author: dcoughlin Date: Fri Apr 8 14:59:16 2016 New Revision: 265839 URL: http://llvm.org/viewvc/llvm-project?rev=265839=rev Log: [analyzer] Teach trackNullOrUndefValue about calls to property accessors. Teach trackNullOrUndefValue() how to look through PseudoObjectExprs to find the underlying

Re: [PATCH] D15524: [GCC] Attribute ifunc support in clang

2016-04-08 Thread Eric Christopher via cfe-commits
echristo added inline comments. Comment at: include/clang/Basic/AttrDocs.td:2371 @@ +2370,3 @@ + +Not all targets support this attribute. ELF targets support this attribute when using binutils v2.20.1 or higher and glibc v2.11.1 or higher. Non-ELF targets currently do not

r265838 - [modules] Handle merged fields in designated initializers.

2016-04-08 Thread Richard Smith via cfe-commits
Author: rsmith Date: Fri Apr 8 14:57:40 2016 New Revision: 265838 URL: http://llvm.org/viewvc/llvm-project?rev=265838=rev Log: [modules] Handle merged fields in designated initializers. Modified: cfe/trunk/lib/Sema/SemaInit.cpp cfe/trunk/test/Modules/Inputs/merge-decl-context/a.h

Re: [PATCH] D17933: Set MaxAtomicInlineWidth properly for i386, i486, and x86-64 cpus without cmpxchg16b.

2016-04-08 Thread James Y Knight via cfe-commits
jyknight added a comment. ping. http://reviews.llvm.org/D17933 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D17741: adds __FILE_BASENAME__ builtin macro

2016-04-08 Thread Alex Rosenberg via cfe-commits
alexr added a subscriber: alexr. alexr added a comment. There are multiple features in this patch that should be considered separately. Please split the patch. That said, I don't think we want to add a fundamental new preprocessor feature like __FILE_BASENAME__ without at least getting some

Re: [PATCH] D15524: [GCC] Attribute ifunc support in clang

2016-04-08 Thread Eric Christopher via cfe-commits
On Fri, Apr 8, 2016, 10:45 AM Paul Robinson < paul_robin...@playstation.sony.com> wrote: > probinson added inline comments. > > > Comment at: include/clang/Basic/AttrDocs.td:2371 > @@ +2370,3 @@ > + > +Not all targets support this attribute. ELF targets support this > attribute

Re: [PATCH] D18843: Always have clang pass -pie-level and -pic-level values to the code generator

2016-04-08 Thread Wei Mi via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL265816: Always have clang pass -pie-level and -pic-level values to the code generator. (authored by wmi). Changed prior to commit: http://reviews.llvm.org/D18843?vs=52945=53038#toc Repository: rL

r265816 - Always have clang pass -pie-level and -pic-level values to the code generator.

2016-04-08 Thread Wei Mi via cfe-commits
Author: wmi Date: Fri Apr 8 12:42:32 2016 New Revision: 265816 URL: http://llvm.org/viewvc/llvm-project?rev=265816=rev Log: Always have clang pass -pie-level and -pic-level values to the code generator. Patch by tmsriram! Differential Revision: http://reviews.llvm.org/D18843 Modified:

Re: [PATCH] D15524: [GCC] Attribute ifunc support in clang

2016-04-08 Thread Paul Robinson via cfe-commits
probinson added inline comments. Comment at: include/clang/Basic/AttrDocs.td:2371 @@ +2370,3 @@ + +Not all targets support this attribute. ELF targets support this attribute when using binutils v2.20.1 or higher and glibc v2.11.1 or higher. Non-ELF targets currently do not

[clang-tools-extra] r265813 - [Release Notes] Sort checks alphabetically.

2016-04-08 Thread Eugene Zelenko via cfe-commits
Author: eugenezelenko Date: Fri Apr 8 12:21:27 2016 New Revision: 265813 URL: http://llvm.org/viewvc/llvm-project?rev=265813=rev Log: [Release Notes] Sort checks alphabetically. Modified: clang-tools-extra/trunk/docs/ReleaseNotes.rst Modified: clang-tools-extra/trunk/docs/ReleaseNotes.rst

Re: [PATCH] D18596: [MSVC] PR27132: Proper mangling for __unaligned qualifier

2016-04-08 Thread Reid Kleckner via cfe-commits
rnk added inline comments. Comment at: test/SemaCXX/MicrosoftExtensions.cpp:89 @@ -84,1 +88,3 @@ +void foo_unaligned(int arg) {} +void foo_unaligned(__unaligned int *arg) {} Surely we can come up with some tougher overloading test cases. I noticed MSVC

r265807 - Move EABIVersion from CodeGenOptions to TargetOptions

2016-04-08 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Fri Apr 8 11:52:05 2016 New Revision: 265807 URL: http://llvm.org/viewvc/llvm-project?rev=265807=rev Log: Move EABIVersion from CodeGenOptions to TargetOptions It is possible to argue that the EABIVersion field is similar in spirit to the ABI field in TargetOptions. It

Re: [PATCH] D18657: Propagate missing empty exception spec from function declared in system header

2016-04-08 Thread Denis Zobnin via cfe-commits
d.zobnin.bugzilla added a comment. Friendly ping, please take a look. Thank you, Denis Zobnin http://reviews.llvm.org/D18657 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D18596: [MSVC] PR27132: Proper mangling for __unaligned qualifier

2016-04-08 Thread Andrey Bokhanko via cfe-commits
andreybokhanko updated this revision to Diff 53022. andreybokhanko added a comment. This patch implements "__unaligned" as a qualifier (as per David Majnemer's request). Most of the changes are miscellaneous small stuff one has to add when adding a new qualifier. Other notable things are: -

Re: [PATCH] D15524: [GCC] Attribute ifunc support in clang

2016-04-08 Thread Joerg Sonnenberger via cfe-commits
joerg added a subscriber: joerg. Comment at: include/clang/Basic/AttrDocs.td:2066 @@ -2065,3 +2065,3 @@ let Content = [{ Clang supports the GNU style ``__attribute__((interrupt))`` attribute on x86/x86-64 targets.The compiler generates function entry and exit sequences

Re: [PATCH] D17821: [OpenCL] Complete image types support

2016-04-08 Thread Alexey Bader via cfe-commits
bader added a comment. In http://reviews.llvm.org/D17821#394708, @bader wrote: > In http://reviews.llvm.org/D17821#394620, @Anastasia wrote: > > > Yes, I think it's better to go in a separate commit, not to complicate this > > one too much. Also since there are not many comment here, I think we

Re: [PATCH] D17821: [OpenCL] Complete image types support

2016-04-08 Thread Alexey Bader via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL265783: [OpenCL] Complete image types support. (authored by bader). Changed prior to commit: http://reviews.llvm.org/D17821?vs=51303=53021#toc Repository: rL LLVM http://reviews.llvm.org/D17821

r265782 - Silencing a 32-bit shift implicit conversion warning from MSVC; NFC.

2016-04-08 Thread Aaron Ballman via cfe-commits
Author: aaronballman Date: Fri Apr 8 07:21:58 2016 New Revision: 265782 URL: http://llvm.org/viewvc/llvm-project?rev=265782=rev Log: Silencing a 32-bit shift implicit conversion warning from MSVC; NFC. Modified: cfe/trunk/lib/CodeGen/SwiftCallingConv.cpp Modified:

Re: [PATCH] D18649: [clang-tidy] cppcoreguidelines-interfaces-global-init

2016-04-08 Thread Alexander Kornienko via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL265774: [clang-tidy] cppcoreguidelines-interfaces-global-init (authored by alexfh). Changed prior to commit: http://reviews.llvm.org/D18649?vs=53001=53010#toc Repository: rL LLVM

[clang-tools-extra] r265774 - [clang-tidy] cppcoreguidelines-interfaces-global-init

2016-04-08 Thread Alexander Kornienko via cfe-commits
Author: alexfh Date: Fri Apr 8 04:51:06 2016 New Revision: 265774 URL: http://llvm.org/viewvc/llvm-project?rev=265774=rev Log: [clang-tidy] cppcoreguidelines-interfaces-global-init Summary: This check flags initializers of globals that access extern objects, and therefore can lead to

Re: [PATCH] D18649: [clang-tidy] cppcoreguidelines-interfaces-global-init

2016-04-08 Thread Clement Courbet via cfe-commits
courbet added a comment. That'd be great. Thanks all for the review. http://reviews.llvm.org/D18649 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D18649: [clang-tidy] cppcoreguidelines-interfaces-global-init

2016-04-08 Thread Clement Courbet via cfe-commits
courbet updated this revision to Diff 53001. courbet added a comment. Rebase on HEAD for submission. http://reviews.llvm.org/D18649 Files: clang-tidy/cppcoreguidelines/CMakeLists.txt clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp

Re: [PATCH] D18584: Complete support for C++ Core Guidelines Type.6: Always initialize a member variable.

2016-04-08 Thread Michael Miller via cfe-commits
michael_miller marked 4 inline comments as done. michael_miller added a comment. In http://reviews.llvm.org/D18584#395208, @alexfh wrote: > Looks good from my side. Please wait for the Aaron's approval. > > Thank you for working on this! No problem! Thanks for taking the time to review and

Re: [PATCH] D18649: [clang-tidy] cppcoreguidelines-interfaces-global-init

2016-04-08 Thread Alexander Kornienko via cfe-commits
alexfh added a comment. (if you do, please rebase the patch on top of HEAD) http://reviews.llvm.org/D18649 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D18649: [clang-tidy] cppcoreguidelines-interfaces-global-init

2016-04-08 Thread Alexander Kornienko via cfe-commits
alexfh accepted this revision. alexfh added a comment. This revision is now accepted and ready to land. Looks good! Thank you for the new check! Do you need me to submit the patch for you? http://reviews.llvm.org/D18649 ___ cfe-commits mailing

Re: [PATCH] D18584: Complete support for C++ Core Guidelines Type.6: Always initialize a member variable.

2016-04-08 Thread Alexander Kornienko via cfe-commits
alexfh accepted this revision. alexfh added a comment. Looks good from my side. Please wait for the Aaron's approval. Thank you for working on this! http://reviews.llvm.org/D18584 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D18649: [clang-tidy] cppcoreguidelines-interfaces-global-init

2016-04-08 Thread Clement Courbet via cfe-commits
courbet added inline comments. Comment at: test/clang-tidy/cppcoreguidelines-interfaces-global-init.cpp:7 @@ +6,3 @@ + +extern int ExternGlobal; +static int GlobalScopeBadInit1 = ExternGlobal; alexfh wrote: > What happens if you add: > > extern int

Re: [PATCH] D18649: [clang-tidy] cppcoreguidelines-interfaces-global-init

2016-04-08 Thread Clement Courbet via cfe-commits
courbet updated this revision to Diff 52999. courbet added a comment. Add unit test for multiple declaration then definition. http://reviews.llvm.org/D18649 Files: clang-tidy/cppcoreguidelines/CMakeLists.txt clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp

Re: [PATCH] D18136: boost-use-to-string check

2016-04-08 Thread Marek Kurdej via cfe-commits
curdeius added a subscriber: curdeius. curdeius added a comment. Minor remark. Comment at: docs/clang-tidy/checks/list.rst:7 @@ -6,2 +6,3 @@ .. toctree:: + boost-use-to-string cert-dcl03-c (redirects to misc-static-assert) toctree directive needs the