Re: [PATCH] D20798: clang-format: [JS] Sort imported symbols.

2016-05-31 Thread Daniel Jasper via cfe-commits
djasper accepted this revision. This revision is now accepted and ready to land. Comment at: lib/Format/SortJavaScriptImports.cpp:248 @@ +247,3 @@ +// ... then the references in order ... +for (JsImportedSymbol *I = Symbols.begin(), *E = Symbols.end(); I != E;) { +

Re: [PATCH] D20277: [clang-tidy] UnnecessaryValueParamCheck - suggest std::move() if non-const value parameter can be moved.

2016-05-31 Thread Felix Berger via cfe-commits
flx updated this revision to Diff 59167. http://reviews.llvm.org/D20277 Files: clang-tidy/performance/UnnecessaryValueParamCheck.cpp clang-tidy/performance/UnnecessaryValueParamCheck.h clang-tidy/utils/DeclRefExprUtils.cpp clang-tidy/utils/DeclRefExprUtils.h clang-tidy/utils/Matchers.h

Re: [PATCH] D20714: [Clang-tidy] Fix some Include What You Use warnings; other minor fixes

2016-05-31 Thread Etienne Bergeron via cfe-commits
etienneb added a comment. In http://reviews.llvm.org/D20714#444802, @Eugene.Zelenko wrote: > Point of Include What You Use suggestions to rely on explicit dependencies, > not implicit ones. It's true most of the time. In some case, splitting the header file is for maintainability and

Re: [PATCH] D20277: [clang-tidy] UnnecessaryValueParamCheck - suggest std::move() if non-const value parameter can be moved.

2016-05-31 Thread Felix Berger via cfe-commits
flx updated this revision to Diff 59157. flx marked 2 inline comments as done. http://reviews.llvm.org/D20277 Files: clang-tidy/performance/UnnecessaryValueParamCheck.cpp clang-tidy/performance/UnnecessaryValueParamCheck.h clang-tidy/utils/DeclRefExprUtils.cpp

Re: [PATCH] D20277: [clang-tidy] UnnecessaryValueParamCheck - suggest std::move() if non-const value parameter can be moved.

2016-05-31 Thread Felix Berger via cfe-commits
flx added inline comments. Comment at: clang-tidy/performance/UnnecessaryValueParamCheck.cpp:34 @@ -29,1 +33,3 @@ +template bool isSetDifferenceEmpty(const S , const S ) { + for (const auto : S1) sbenza wrote: > isSubset? In the caller code it seems to me

[PATCH] D20844: FixIt: correctly set DeclSpec's range end for a type name annotation.

2016-05-31 Thread Manman Ren via cfe-commits
manmanren created this revision. manmanren added a reviewer: rjmccall. manmanren added a subscriber: cfe-commits. Before this fix, both the start and the end point to the same location, and we will add the FixIt before the type name: ^(NSView view) to ^(*NSView view) After this commit, fixit

[PATCH] D20843: ObjC lifetime: pull sugar off when the qualifiers conflict.

2016-05-31 Thread Manman Ren via cfe-commits
manmanren created this revision. manmanren added a reviewer: rjmccall. manmanren added a subscriber: cfe-commits. It's possible to have multiple local ObjCLifetime qualifiers. When there is a conflict, we can't stop after we reach a type that is directly qualified. We need to keep pulling sugar

Buildbot numbers for the last week of 5/22/2016 - 5/28/2016

2016-05-31 Thread Galina Kistanova via cfe-commits
Hello everyone, Below are some buildbot numbers for the last week of 5/22/2016 - 5/28/2016. Thanks Galina "Status change ratio" by active builder (percent of builds that changed the builder status from greed to red or from red to green): buildername

LLVM buildmaster will be restarted tonight

2016-05-31 Thread Galina Kistanova via cfe-commits
Hello everyone, LLVM buildmaster will be restarted after 6 PM Pacific time today. Thank you for understanding. Thanks Galina ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r271351 - Indexer: add CXObjCPropertyAttr_class for class properties.

2016-05-31 Thread Manman Ren via cfe-commits
Author: mren Date: Tue May 31 18:22:04 2016 New Revision: 271351 URL: http://llvm.org/viewvc/llvm-project?rev=271351=rev Log: Indexer: add CXObjCPropertyAttr_class for class properties. rdar://25963227 Modified: cfe/trunk/include/clang-c/Index.h

Re: [PATCH] D20757: Add "REQUIRES-ANY" feature test

2016-05-31 Thread Daniel Dunbar via cfe-commits
I believe you are thinking of: http://reviews.llvm.org/D18185 On Tue, May 31, 2016 at 2:32 PM, Paul Robinson wrote: > probinson added a subscriber: probinson. > probinson added a comment. > > Do I remember that somebody was working on a more generic expression-like >

Re: [PATCH] D16948: [libcxx] Filesystem TS -- Complete

2016-05-31 Thread Akira Hatanaka via cfe-commits
ahatanak added a subscriber: ahatanak. Comment at: test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp:57 @@ -56,3 +56,3 @@ struct Dummy { void foo() noexcept {} static void bar() noexcept {} }; -#if !defined(__cpp_noexcept_function_type) +#if

Re: [PATCH] D20640: [AMDGPU] Set default dwarf version to 2

2016-05-31 Thread Konstantin Zhuravlyov via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271347: [AMDGPU] Set default dwarf version to 2 (authored by kzhuravl). Changed prior to commit: http://reviews.llvm.org/D20640?vs=58481=59144#toc Repository: rL LLVM http://reviews.llvm.org/D20640

r271347 - [AMDGPU] Set default dwarf version to 2

2016-05-31 Thread Konstantin Zhuravlyov via cfe-commits
Author: kzhuravl Date: Tue May 31 17:47:11 2016 New Revision: 271347 URL: http://llvm.org/viewvc/llvm-project?rev=271347=rev Log: [AMDGPU] Set default dwarf version to 2 Differential Revision: http://reviews.llvm.org/D20640 Modified: cfe/trunk/lib/Driver/ToolChains.h

Re: r269670 - [OpenCL] Add supported OpenCL extensions to target info.

2016-05-31 Thread Jeroen Ketema via cfe-commits
Hi Sam, > This commit does not change the initial state of the extensions. An extension > is supported is not the same as enabled. At the beginning all extensions are > disabled. I do not see this reflected in the code at all. Could you please: a. Point me to the location where this

RE: r269670 - [OpenCL] Add supported OpenCL extensions to target info.

2016-05-31 Thread Liu, Yaxun (Sam) via cfe-commits
Hi Jeroen, I added all extensions since it may be useful for users to know that certain extensions are supported by a platform. The spec does not specify those options which do not affect language semantics should or should not be defined. I am considering removing them since they may

Re: [PATCH] D20836: [CUDA] Conservatively mark inline asm as convergent.

2016-05-31 Thread Artem Belevich via cfe-commits
tra added a comment. I guess we would not be able to remove convergent from inline asm automatically. Do we need a way to explicitly remove convergent from inline asm? http://reviews.llvm.org/D20836 ___ cfe-commits mailing list

Re: r269670 - [OpenCL] Add supported OpenCL extensions to target info.

2016-05-31 Thread Jeroen Ketema via cfe-commits
By the way, are you accidentally violating: The initial state of the compiler is as if the directive #pragma OPENCL EXTENSION all : disable was issued, telling the compiler that all error and warning reporting must be done according to this specification, ignoring any extensions. That from

Re: [PATCH] D20836: [CUDA] Conservatively mark inline asm as convergent.

2016-05-31 Thread Justin Lebar via cfe-commits
jlebar added a comment. In http://reviews.llvm.org/D20836#444911, @tra wrote: > I guess we would not be able to remove convergent from inline asm > automatically. Do we need a way to explicitly remove convergent from inline > asm? We can think about it. I'm not sure it will make a big

Re: [PATCH] D20836: [CUDA] Conservatively mark inline asm as convergent.

2016-05-31 Thread Justin Lebar via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271336: [CUDA] Conservatively mark inline asm as convergent. (authored by jlebar). Changed prior to commit: http://reviews.llvm.org/D20836?vs=59130=59133#toc Repository: rL LLVM

r271336 - [CUDA] Conservatively mark inline asm as convergent.

2016-05-31 Thread Justin Lebar via cfe-commits
Author: jlebar Date: Tue May 31 16:27:13 2016 New Revision: 271336 URL: http://llvm.org/viewvc/llvm-project?rev=271336=rev Log: [CUDA] Conservatively mark inline asm as convergent. Summary: This is particularly important because a some convergent CUDA intrinsics (e.g. __shfl_down) are

Re: [PATCH] D20757: Add "REQUIRES-ANY" feature test

2016-05-31 Thread Paul Robinson via cfe-commits
probinson added a subscriber: probinson. probinson added a comment. Do I remember that somebody was working on a more generic expression-like syntax for REQUIRES? If that's been abandoned, then Never Mind. Repository: rL LLVM http://reviews.llvm.org/D20757

Re: r269670 - [OpenCL] Add supported OpenCL extensions to target info.

2016-05-31 Thread Jeroen Ketema via cfe-commits
Hi Sam, Fair enough. However, if I read your quote correctly, then there is absolutely no need to define a cl_khr_icd, pragma, as ICD in no way affects the language. Why do you define one anyway? The following also hasn’t been cleared up yet: * If I understand the patch correctly, it allows

Re: [PATCH] D20709: Support ARM subtarget feature +long64

2016-05-31 Thread Pirama Arumuga Nainar via cfe-commits
pirama added a comment. I looked at how LangOpts and TargetInfo are handled and found a way we can achieve 64-bit longs without a Target feature (and restrict it just to RenderScript!). This would be via TargetInfo::adjust(). I'll abandon the sibling patch to LLVM as we should be able to do

[PATCH] D20836: [CUDA] Conservatively mark inline asm as convergent.

2016-05-31 Thread Justin Lebar via cfe-commits
jlebar created this revision. jlebar added a reviewer: tra. jlebar added a subscriber: cfe-commits. This is particularly important because a some convergent CUDA intrinsics (e.g. __shfl_down) are implemented in terms of inline asm. http://reviews.llvm.org/D20836 Files: lib/CodeGen/CGStmt.cpp

Re: [PATCH] D16545: [libcxxabi] Enable testing for static libc++abi

2016-05-31 Thread Ben Craig via cfe-commits
bcraig added a comment. In http://reviews.llvm.org/D16545#444854, @rmaprath wrote: > Hmmm, it looks like part of this patch didn't go in? I cannot see the changes > in the `libcxxabi/CMakeLists.txt` file in the repo. > > I was hoping this would enable me to run the `libc++abi` tests on in-tree

Re: [PATCH] D16545: [libcxxabi] Enable testing for static libc++abi

2016-05-31 Thread Asiri Rathnayake via cfe-commits
rmaprath added a subscriber: rmaprath. rmaprath added a comment. Hmmm, it looks like part of this patch didn't go in? I cannot see the changes in the `libcxxab/CMakeLists.txt` file in the repo. I was hoping this would enable me to run the `libc++abi` tests on in-tree static builds, but I still

Re: [PATCH] D20561: Warn when taking address of packed member

2016-05-31 Thread Aaron Ballman via cfe-commits
aaron.ballman added inline comments. Comment at: lib/Sema/SemaExpr.cpp:10527 @@ +10526,3 @@ +if (RD->hasAttr() || +ME->getMemberDecl()->hasAttr()) { + Diag(OpLoc, diag::warn_taking_address_of_packed_member) rogfer01 wrote: > aaron.ballman wrote:

Re: [PATCH] D20757: Add "REQUIRES-ANY" feature test

2016-05-31 Thread Reid Kleckner via cfe-commits
rnk accepted this revision. rnk added a comment. This revision is now accepted and ready to land. lgtm Repository: rL LLVM http://reviews.llvm.org/D20757 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

r271331 - [Coverage] Remove redundant handleFileExit() call (NFC)

2016-05-31 Thread Vedant Kumar via cfe-commits
Author: vedantk Date: Tue May 31 15:35:12 2016 New Revision: 271331 URL: http://llvm.org/viewvc/llvm-project?rev=271331=rev Log: [Coverage] Remove redundant handleFileExit() call (NFC) I added this call in r271308. It's redundant because it's dominated by a call to extendRegion(). Thanks to

Re: [PATCH] D20828: [CMake] Update to retiring CMake 3.4.3

2016-05-31 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271329: [CMake] Update to requiring CMake 3.4.3 (authored by cbieneman). Changed prior to commit: http://reviews.llvm.org/D20828?vs=59099=59125#toc Repository: rL LLVM

Re: [PATCH] D20829: [CMake] Update to retiring CMake 3.4.3

2016-05-31 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271330: [CMake] Update to requiring CMake 3.4.3 (authored by cbieneman). Changed prior to commit: http://reviews.llvm.org/D20829?vs=59101=59126#toc Repository: rL LLVM

RE: r269670 - [OpenCL] Add supported OpenCL extensions to target info.

2016-05-31 Thread Liu, Yaxun (Sam) via cfe-commits
Hi Jeroen, OpenCL spec v1.1 s9.1 says Every extension which affects the OpenCL language semantics, syntax or adds built-in functions to the language must create a preprocessor #define that matches the extension name string. This #define would be available in the language if and only if the

Re: [PATCH] D20823: [CMake] Update to retiring CMake 3.4.3

2016-05-31 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271326: [CMake] Update to requiring CMake 3.4.3 (authored by cbieneman). Changed prior to commit: http://reviews.llvm.org/D20823?vs=59094=59122#toc Repository: rL LLVM

[libcxxabi] r271330 - [CMake] Update to requiring CMake 3.4.3

2016-05-31 Thread Chris Bieneman via cfe-commits
Author: cbieneman Date: Tue May 31 15:21:53 2016 New Revision: 271330 URL: http://llvm.org/viewvc/llvm-project?rev=271330=rev Log: [CMake] Update to requiring CMake 3.4.3 Summary: This is as per the discussions on developer lists: http://lists.llvm.org/pipermail/llvm-dev/2016-April/098780.html

r271326 - [CMake] Update to requiring CMake 3.4.3

2016-05-31 Thread Chris Bieneman via cfe-commits
Author: cbieneman Date: Tue May 31 15:21:38 2016 New Revision: 271326 URL: http://llvm.org/viewvc/llvm-project?rev=271326=rev Log: [CMake] Update to requiring CMake 3.4.3 Summary: This is as per the discussions on developer lists: http://lists.llvm.org/pipermail/llvm-dev/2016-April/098780.html

[libcxx] r271329 - [CMake] Update to requiring CMake 3.4.3

2016-05-31 Thread Chris Bieneman via cfe-commits
Author: cbieneman Date: Tue May 31 15:21:52 2016 New Revision: 271329 URL: http://llvm.org/viewvc/llvm-project?rev=271329=rev Log: [CMake] Update to requiring CMake 3.4.3 Summary: This is as per the discussions on developer lists: http://lists.llvm.org/pipermail/llvm-dev/2016-April/098780.html

Re: [PATCH] D20714: [Clang-tidy] Fix some Include What You Use warnings; other minor fixes

2016-05-31 Thread Eugene Zelenko via cfe-commits
Eugene.Zelenko added a comment. Point of Include What You Use suggestions to rely on explicit dependencies, not implicit ones. Comment at: clang-tidy/utils/OptionsUtils.cpp:1 @@ -1,2 +1,2 @@ //===--- DanglingHandleCheck.cpp - clang-tidy--===// //

[clang-tools-extra] r271321 - [include-fixer] disable path cleaning test for windows and mingw.

2016-05-31 Thread Eric Liu via cfe-commits
Author: ioeric Date: Tue May 31 14:22:01 2016 New Revision: 271321 URL: http://llvm.org/viewvc/llvm-project?rev=271321=rev Log: [include-fixer] disable path cleaning test for windows and mingw. Modified:

Re: [PATCH] D20404: [Driver] Fix driver support for color diagnostics

2016-05-31 Thread Bruno Cardoso Lopes via cfe-commits
bruno closed this revision. bruno added a comment. Committed in r271042 http://reviews.llvm.org/D20404 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20266: [Modules] Use vfs for (recursive) directory iteration

2016-05-31 Thread Bruno Cardoso Lopes via cfe-commits
bruno closed this revision. bruno added a comment. Committed in r269661 http://reviews.llvm.org/D20266 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D18585: [CrashReproducer] Add a module map callback for added headers

2016-05-31 Thread Bruno Cardoso Lopes via cfe-commits
bruno closed this revision. bruno added a comment. Committed in r264971 http://reviews.llvm.org/D18585 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20451: [Parser] Fix look ahead after EOF while parsing objc message and lambdas

2016-05-31 Thread Bruno Cardoso Lopes via cfe-commits
bruno closed this revision. bruno added a comment. Thanks Doug! Committed r271314 http://reviews.llvm.org/D20451 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r271314 - [Parser] Fix look ahead after EOF while parsing objc message and lambdas

2016-05-31 Thread Bruno Cardoso Lopes via cfe-commits
Author: bruno Date: Tue May 31 13:46:31 2016 New Revision: 271314 URL: http://llvm.org/viewvc/llvm-project?rev=271314=rev Log: [Parser] Fix look ahead after EOF while parsing objc message and lambdas If a closing ')' isn't found for a macro instantiation inside a '[', the next token is EOF, this

Re: [PATCH] D20388: AMDGPU: Fix supported CL features

2016-05-31 Thread Jan Vesely via cfe-commits
jvesely added inline comments. Comment at: lib/Basic/Targets.cpp:2024-2025 @@ -2023,2 +2023,4 @@ Builder.defineMacro("__HAS_LDEXPF__"); +if (hasFP64) + Builder.defineMacro("__HAS_FP64__"); } arsenm wrote: > I don't think we need this. I want

Re: [PATCH] D20415: Update Clang for D20147 ("DebugInfo: New metadata representation for global variables.")

2016-05-31 Thread Adrian Prantl via cfe-commits
aprantl added inline comments. Comment at: lib/CodeGen/CGDebugInfo.cpp:3427 @@ -3425,3 +3426,3 @@ DContext, DeclName, LinkageName, Unit, LineNo, getOrCreateType(T, Unit), -Var->hasInternalLinkage(), Var, +Var->hasInternalLinkage(), nullptr,

Re: [PATCH] D20828: [CMake] Update to retiring CMake 3.4.3

2016-05-31 Thread Nico Weber via cfe-commits
thakis added a subscriber: thakis. thakis accepted this revision. thakis added a reviewer: thakis. thakis added a comment. This revision is now accepted and ready to land. s/retiring/requiring/, right? http://reviews.llvm.org/D20828 ___ cfe-commits

Re: [PATCH] D20383: PCH + Module: make sure we write out macros associated with builtin identifiers

2016-05-31 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271310: PCH + module: make sure we write out macros associated with builtin identifiers. (authored by mren). Changed prior to commit: http://reviews.llvm.org/D20383?vs=57673=59103#toc Repository: rL

r271310 - PCH + module: make sure we write out macros associated with builtin identifiers.

2016-05-31 Thread Manman Ren via cfe-commits
Author: mren Date: Tue May 31 13:19:32 2016 New Revision: 271310 URL: http://llvm.org/viewvc/llvm-project?rev=271310=rev Log: PCH + module: make sure we write out macros associated with builtin identifiers. When we import a module that defines a builtin identifier from prefix header and

[PATCH] D20829: [CMake] Update to retiring CMake 3.4.3

2016-05-31 Thread Chris Bieneman via cfe-commits
beanz created this revision. beanz added a subscriber: cfe-commits. This is as per the discussions on developer lists: http://lists.llvm.org/pipermail/llvm-dev/2016-April/098780.html http://lists.llvm.org/pipermail/llvm-dev/2016-May/100058.html http://reviews.llvm.org/D20829 Files:

Re: [PATCH] D20827: [include-fixer] Use YAML format in -output-headers and -insert-header mode.

2016-05-31 Thread Haojian Wu via cfe-commits
hokein updated this revision to Diff 59100. hokein added a comment. Remove unused code. http://reviews.llvm.org/D20827 Files: include-fixer/IncludeFixer.cpp include-fixer/IncludeFixerContext.h include-fixer/tool/ClangIncludeFixer.cpp include-fixer/tool/clang-include-fixer.py

[PATCH] D20828: [CMake] Update to retiring CMake 3.4.3

2016-05-31 Thread Chris Bieneman via cfe-commits
beanz created this revision. beanz added a subscriber: cfe-commits. This is as per the discussions on developer lists: http://lists.llvm.org/pipermail/llvm-dev/2016-April/098780.html http://lists.llvm.org/pipermail/llvm-dev/2016-May/100058.html http://reviews.llvm.org/D20828 Files:

Re: [PATCH] D20415: Update Clang for D20147 ("DebugInfo: New metadata representation for global variables.")

2016-05-31 Thread Adrian Prantl via cfe-commits
aprantl accepted this revision. aprantl added a comment. This revision is now accepted and ready to land. LGTM with small changes. Comment at: lib/CodeGen/CGDebugInfo.cpp:3427 @@ -3425,3 +3426,3 @@ DContext, DeclName, LinkageName, Unit, LineNo, getOrCreateType(T,

Re: [PATCH] D19843: Use the name of the file on disk to issue a new diagnostic about non-portable #include and #import paths.

2016-05-31 Thread Eric Niebler via cfe-commits
eric_niebler updated this revision to Diff 59098. eric_niebler added a comment. Remove stale comment, tweak for diagnostic wording. http://reviews.llvm.org/D19843 Files: include/clang/Basic/DiagnosticGroups.td include/clang/Basic/DiagnosticLexKinds.td include/clang/Basic/FileManager.h

[PATCH] D20827: [include-fixer] Use YAML format in -output-headers and -insert-header mode.

2016-05-31 Thread Haojian Wu via cfe-commits
hokein created this revision. hokein added a reviewer: bkramer. hokein added a subscriber: cfe-commits. And some improvements: * Show better error messages on unfound symbols. * Fix a typo. http://reviews.llvm.org/D20827 Files: include-fixer/IncludeFixer.cpp

r271308 - [Coverage] Fix crash on a switch partially covered by a macro (PR27948)

2016-05-31 Thread Vedant Kumar via cfe-commits
Author: vedantk Date: Tue May 31 13:06:19 2016 New Revision: 271308 URL: http://llvm.org/viewvc/llvm-project?rev=271308=rev Log: [Coverage] Fix crash on a switch partially covered by a macro (PR27948) We have to handle file exits before and after visiting regions in the switch body. Fixes

[PATCH] D20823: [CMake] Update to retiring CMake 3.4.3

2016-05-31 Thread Chris Bieneman via cfe-commits
beanz created this revision. beanz added a subscriber: cfe-commits. This is as per the discussions on developer lists: http://lists.llvm.org/pipermail/llvm-dev/2016-April/098780.html http://lists.llvm.org/pipermail/llvm-dev/2016-May/100058.html http://reviews.llvm.org/D20823 Files:

Re: [PATCH] D20383: PCH + Module: make sure we write out macros associated with builtin identifiers

2016-05-31 Thread Richard Smith via cfe-commits
rsmith accepted this revision. rsmith added a comment. Looks good to me, too. http://reviews.llvm.org/D20383 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20383: PCH + Module: make sure we write out macros associated with builtin identifiers

2016-05-31 Thread Doug Gregor via cfe-commits
doug.gregor accepted this revision. doug.gregor added a comment. This revision is now accepted and ready to land. Yes, that's a LGTM, sorry for being unclear. http://reviews.llvm.org/D20383 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D20383: PCH + Module: make sure we write out macros associated with builtin identifiers

2016-05-31 Thread Manman Ren via cfe-commits
manmanren added a comment. In http://reviews.llvm.org/D20383#443613, @doug.gregor wrote: > Yeah, this looks like the right approach. PCH follows the same rules as > modules when it comes to newer information shadowing imported information. Hi Doug, Thanks for reviewing the patch! Can I take

r271305 - Work around MinGW's macro definition of 'interface' to 'struct'

2016-05-31 Thread Reid Kleckner via cfe-commits
Author: rnk Date: Tue May 31 12:42:56 2016 New Revision: 271305 URL: http://llvm.org/viewvc/llvm-project?rev=271305=rev Log: Work around MinGW's macro definition of 'interface' to 'struct' Previous attempts to rename the IBOutletCollection argument to something other than "Interface" were undone

Re: [PATCH] D20819: [find-all-symbols] remove dots in SymbolInfo file paths.

2016-05-31 Thread Eric Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271302: [find-all-symbols] remove dots in SymbolInfo file paths. (authored by ioeric). Changed prior to commit: http://reviews.llvm.org/D20819?vs=59075=59091#toc Repository: rL LLVM

Re: [PATCH] D20821: Fix a few issues while skipping function bodies

2016-05-31 Thread Richard Smith via cfe-commits
rsmith added inline comments. Comment at: lib/Parse/ParseStmt.cpp:1989 @@ +1988,3 @@ +if (Tok.is(tok::colon)) { + // skip constructor initializer list + SkipUntil(tok::l_brace, StopAtSemi | StopBeforeMatch); Comments should start with a capital

Re: [PATCH] D20415: Update Clang for D20147 ("DebugInfo: New metadata representation for global variables.")

2016-05-31 Thread Peter Collingbourne via cfe-commits
pcc added a comment. Ping. http://reviews.llvm.org/D20415 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20388: AMDGPU: Fix supported CL features

2016-05-31 Thread Matt Arsenault via cfe-commits
arsenm added inline comments. Comment at: lib/Basic/Targets.cpp:2024-2025 @@ -2023,2 +2023,4 @@ Builder.defineMacro("__HAS_LDEXPF__"); +if (hasFP64) + Builder.defineMacro("__HAS_FP64__"); } I don't think we need this. I want device macros for

r271297 - AMDGPU: Update datalayout string

2016-05-31 Thread Matt Arsenault via cfe-commits
Author: arsenm Date: Tue May 31 11:58:18 2016 New Revision: 271297 URL: http://llvm.org/viewvc/llvm-project?rev=271297=rev Log: AMDGPU: Update datalayout string Modified: cfe/trunk/lib/Basic/Targets.cpp cfe/trunk/test/CodeGen/target-data.c Modified: cfe/trunk/lib/Basic/Targets.cpp URL:

[PATCH] D20821: Fix a few issues while skipping function bodies

2016-05-31 Thread Olivier Goffart via cfe-commits
ogoffart created this revision. ogoffart added reviewers: cfe-commits, rsmith, akyrtzi. Herald added a subscriber: klimek. Fix a few issues while skipping function bodies - In functions with try { } catch { }, only the try block would be skipped, not the catch blocks - The template

Re: [clang-tools-extra] r271295 - IncludeFixerTests: Update libdeps.

2016-05-31 Thread Eric Liu via cfe-commits
Thanks for the patch! On Tue, May 31, 2016 at 6:48 PM NAKAMURA Takumi via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: chapuni > Date: Tue May 31 11:41:39 2016 > New Revision: 271295 > > URL: http://llvm.org/viewvc/llvm-project?rev=271295=rev > Log: > IncludeFixerTests: Update

[clang-tools-extra] r271295 - IncludeFixerTests: Update libdeps.

2016-05-31 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Tue May 31 11:41:39 2016 New Revision: 271295 URL: http://llvm.org/viewvc/llvm-project?rev=271295=rev Log: IncludeFixerTests: Update libdeps. Modified: clang-tools-extra/trunk/unittests/include-fixer/CMakeLists.txt Modified:

Re: [PATCH] D20423: [Clang][LLVMGold] Passing LLVM arguments to gold plugin

2016-05-31 Thread Mehdi AMINI via cfe-commits
mehdi_amini added a comment. In http://reviews.llvm.org/D20423#440539, @bunty2020 wrote: > Clang's help shows the following description: > **-mllvm Additional arguments to forward to LLVM's option > processing** > > If -mllvm sets some internal option for cc1 then its strange > for

Re: [PATCH] Fix stack overflow in MSVC unqualified type lookup logic

2016-05-31 Thread Reid Kleckner via cfe-commits
Thanks for the patch and report! Can this check be defeated with mutually recursive class template inheritance? I was thinking something like this: ... template struct FooWrapper : FooTemplated { }; // Full template spec template class FooTemplated : public FooWrapper { ...

Re: [PATCH] D20819: [find-all-symbols] remove dots in SymbolInfo file paths.

2016-05-31 Thread Manuel Klimek via cfe-commits
klimek accepted this revision. klimek added a comment. This revision is now accepted and ready to land. I think this is ok, mainly because the clean paths are explicitly for user code, where users usually like to have, well, clean paths. http://reviews.llvm.org/D20819

[clang-tools-extra] r271294 - [include-fixer] removed unused forward declaration.

2016-05-31 Thread Eric Liu via cfe-commits
Author: ioeric Date: Tue May 31 11:03:09 2016 New Revision: 271294 URL: http://llvm.org/viewvc/llvm-project?rev=271294=rev Log: [include-fixer] removed unused forward declaration. Modified: clang-tools-extra/trunk/include-fixer/IncludeFixer.cpp Modified:

Re: [PATCH] D20819: [find-all-symbols] remove dots in SymbolInfo file paths.

2016-05-31 Thread Benjamin Kramer via cfe-commits
bkramer added a comment. Adding Manuel as a second opinion. I think this is fine but paths are a messy problem, in particular removing .. can break symlinked directories. http://reviews.llvm.org/D20819 ___ cfe-commits mailing list

Re: r271288 - [ASTMatchers] Breaking change of `has` matcher

2016-05-31 Thread Piotr Padlewski via cfe-commits
Already commited. It should work right now. 2016-05-31 18:00 GMT+02:00 Rafael Espíndola : > I think is just the usual "llvm.org is crazy slow". I am trying to commit. > > Cheers, > Rafael > > > On 31 May 2016 at 08:54, Piotr Padlewski >

Re: [PATCH] D20715: [docs] Document the source-based code coverage feature

2016-05-31 Thread Vedant Kumar via cfe-commits
vsk updated this revision to Diff 59078. vsk marked an inline comment as done. vsk added a comment. - Actually link in the new document into Index.rst. http://reviews.llvm.org/D20715 Files: docs/SourceBasedCodeCoverage.rst docs/index.rst Index: docs/index.rst

r271293 - Fixed bug

2016-05-31 Thread Piotr Padlewski via cfe-commits
Author: prazek Date: Tue May 31 10:56:26 2016 New Revision: 271293 URL: http://llvm.org/viewvc/llvm-project?rev=271293=rev Log: Fixed bug Modified: cfe/trunk/include/clang/CMakeLists.txt Modified: cfe/trunk/include/clang/CMakeLists.txt URL:

Re: r253909 - Make clang_Cursor_getMangling not mangle if the declaration isn't mangled

2016-05-31 Thread Ehsan Akhgari via cfe-commits
Of course, apologies for this. Reverted in r271291 and recommitted in r271292. On Tue, May 31, 2016 at 10:18 AM, David Blaikie wrote: > Burt Wesarg points out on cfe-dev that this commit message doesn't match > the patch (nor the description provided in the code review

r271292 - clang-c: Add the clang_getCursorVisibility() API

2016-05-31 Thread Ehsan Akhgari via cfe-commits
Author: ehsan Date: Tue May 31 10:55:51 2016 New Revision: 271292 URL: http://llvm.org/viewvc/llvm-project?rev=271292=rev Log: clang-c: Add the clang_getCursorVisibility() API This patch adds an API for querying the visibility of the entity referred to by a cursor. Patch by Michael Wu

Re: r271288 - [ASTMatchers] Breaking change of `has` matcher

2016-05-31 Thread Rafael Espíndola via cfe-commits
I think is just the usual "llvm.org is crazy slow". I am trying to commit. Cheers, Rafael On 31 May 2016 at 08:54, Piotr Padlewski wrote: > dunno why but I can't fetch from upstream > > Can you push this change? > > -

Re: [PATCH] D20388: AMDGPU: Fix supported CL features

2016-05-31 Thread Jan Vesely via cfe-commits
jvesely marked 2 inline comments as done. jvesely added a comment. Repository: rL LLVM http://reviews.llvm.org/D20388 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20388: AMDGPU: Fix supported CL features

2016-05-31 Thread Jan Vesely via cfe-commits
jvesely updated the summary for this revision. jvesely updated this revision to Diff 59080. jvesely added a comment. add has_fp64 macro Repository: rL LLVM http://reviews.llvm.org/D20388 Files: lib/Basic/Targets.cpp test/Misc/amdgcn.languageOptsOpenCL.cl

Re: r271288 - [ASTMatchers] Breaking change of `has` matcher

2016-05-31 Thread Piotr Padlewski via cfe-commits
dunno why but I can't fetch from upstream Can you push this change? - include/clang/CMakeLists.txt - index 96905c9..feb81f0 100644 @@ -5,4 +5,3 @@ add_subdirectory(Parse) add_subdirectory(Sema) add_subdirectory(Serialization)

Re: r271288 - [ASTMatchers] Breaking change of `has` matcher

2016-05-31 Thread Piotr Padlewski via cfe-commits
Yep, sending fix 2016-05-31 17:45 GMT+02:00 Rafael Espíndola : > This broke the build: > > http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/36968/steps/cmake-configure/logs/stdio > > On 31 May 2016 at 08:25, Piotr Padlewski via cfe-commits >

Re: [PATCH] D16948: [libcxx] Filesystem TS -- Complete

2016-05-31 Thread David Majnemer via cfe-commits
majnemer added inline comments. Comment at: src/experimental/operations.cpp:128-129 @@ +127,4 @@ +bool stat_equivalent(struct ::stat& st1, struct ::stat& st2) { +return (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino); +} + It is possible for `st_ino`

r271291 - Revert r253909 because it was committed with an incorrect message

2016-05-31 Thread Ehsan Akhgari via cfe-commits
Author: ehsan Date: Tue May 31 10:39:10 2016 New Revision: 271291 URL: http://llvm.org/viewvc/llvm-project?rev=271291=rev Log: Revert r253909 because it was committed with an incorrect message Removed: cfe/trunk/test/Index/symbol-visibility.c Modified: cfe/trunk/include/clang-c/Index.h

Re: r271288 - [ASTMatchers] Breaking change of `has` matcher

2016-05-31 Thread Rafael Espíndola via cfe-commits
This broke the build: http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/36968/steps/cmake-configure/logs/stdio On 31 May 2016 at 08:25, Piotr Padlewski via cfe-commits wrote: > Author: prazek > Date: Tue May 31 10:25:05 2016 > New Revision: 271288 > >

Re: [PATCH] D16948: [libcxx] Filesystem TS -- Complete

2016-05-31 Thread David Majnemer via cfe-commits
majnemer added inline comments. Comment at: src/experimental/operations.cpp:529 @@ +528,3 @@ + +if (::utimensat(AT_FDCWD, p.c_str(), tbuf, 0) == -1) { +m_ec = detail::capture_errno(); SUSv4 says: > The utime() function is marked obsolescent.

[clang-tools-extra] r271289 - [ASTMatchers] Added ignoringParenImpCasts to has matchers

2016-05-31 Thread Piotr Padlewski via cfe-commits
Author: prazek Date: Tue May 31 10:26:56 2016 New Revision: 271289 URL: http://llvm.org/viewvc/llvm-project?rev=271289=rev Log: [ASTMatchers] Added ignoringParenImpCasts to has matchers has matcher changed behaviour, and now it matches "as is" and doesn't skip implicit and paren casts

r271288 - [ASTMatchers] Breaking change of `has` matcher

2016-05-31 Thread Piotr Padlewski via cfe-commits
Author: prazek Date: Tue May 31 10:25:05 2016 New Revision: 271288 URL: http://llvm.org/viewvc/llvm-project?rev=271288=rev Log: [ASTMatchers] Breaking change of `has` matcher has matcher can now match to implicit and paren casts http://reviews.llvm.org/D20801 Modified:

[PATCH] D20817: clang-format: [JS] no ASI on `import {x as\n y}`.

2016-05-31 Thread Martin Probst via cfe-commits
mprobst created this revision. mprobst added a reviewer: djasper. mprobst added a subscriber: cfe-commits. Herald added a subscriber: klimek. ASI did not handle the ES6 `as` operator correctly. http://reviews.llvm.org/D20817 Files: lib/Format/UnwrappedLineParser.cpp

Re: [PATCH] D14326: ASTImporter: expressions, pt.2

2016-05-31 Thread Aleksei Sidorin via cfe-commits
a.sidorin added a comment. Ping? http://reviews.llvm.org/D14326 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20798: clang-format: [JS] Sort imported symbols.

2016-05-31 Thread Martin Probst via cfe-commits
mprobst added a comment. Done regarding the tests. We do have an unrelated issue with formatting `import {x as foo}`, will send a fix later. http://reviews.llvm.org/D20798 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D20798: clang-format: [JS] Sort imported symbols.

2016-05-31 Thread Martin Probst via cfe-commits
mprobst updated this revision to Diff 59070. mprobst added a comment. - multiline tests, review comments http://reviews.llvm.org/D20798 Files: lib/Format/Format.cpp lib/Format/SortJavaScriptImports.cpp unittests/Format/SortImportsTestJS.cpp Index: unittests/Format/SortImportsTestJS.cpp

Re: [PATCH] D20816: [include-fixer] use clang-format cleaner to insert header.

2016-05-31 Thread Haojian Wu via cfe-commits
hokein added inline comments. Comment at: include-fixer/IncludeFixer.cpp:29 @@ -28,3 +28,3 @@ class Action; The forward declaration can be removed too. Repository: rL LLVM http://reviews.llvm.org/D20816 ___

Re: [PATCH] D20798: clang-format: [JS] Sort imported symbols.

2016-05-31 Thread Martin Probst via cfe-commits
mprobst marked 4 inline comments as done. mprobst added a comment. Done regarding the tests. We do have an unrelated issue with formatting `import {x as foo}`, will send a fix later. http://reviews.llvm.org/D20798 ___ cfe-commits mailing list

Re: [PATCH] D20277: [clang-tidy] UnnecessaryValueParamCheck - suggest std::move() if non-const value parameter can be moved.

2016-05-31 Thread Felix Berger via cfe-commits
flx added a comment. In http://reviews.llvm.org/D20277#444023, @Prazek wrote: > In http://reviews.llvm.org/D20277#436725, @flx wrote: > > > In http://reviews.llvm.org/D20277#436717, @Prazek wrote: > > > > > Cool check! Did you think about sugesting std::move for rvalue references > > > if they

Re: [PATCH] D20816: [include-fixer] use clang-format cleaner to insert header.

2016-05-31 Thread Eric Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271287: [include-fixer] use clang-format cleaner to insert header. (authored by ioeric). Changed prior to commit: http://reviews.llvm.org/D20816?vs=59067=59069#toc Repository: rL LLVM

[clang-tools-extra] r271287 - [include-fixer] use clang-format cleaner to insert header.

2016-05-31 Thread Eric Liu via cfe-commits
Author: ioeric Date: Tue May 31 09:48:45 2016 New Revision: 271287 URL: http://llvm.org/viewvc/llvm-project?rev=271287=rev Log: [include-fixer] use clang-format cleaner to insert header. Summary: clang-format's cleanupAroundReplacements() takes care of header insertions. Reviewers: bkramer

Re: [PATCH] D20816: [include-fixer] use clang-format cleaner to insert header.

2016-05-31 Thread Benjamin Kramer via cfe-commits
bkramer accepted this revision. bkramer added a comment. This revision is now accepted and ready to land. Look at all this annoying preprocessor code going away! I love it. http://reviews.llvm.org/D20816 ___ cfe-commits mailing list

  1   2   >