[PATCH] D37449: [X86][AVX512] _mm512_stream_load_si512 should take a void const* argument (PR33977)

2017-09-04 Thread Elena Demikhovsky via Phabricator via cfe-commits
delena accepted this revision. delena added a comment. This revision is now accepted and ready to land. LGTM Repository: rL LLVM https://reviews.llvm.org/D37449 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: r311857 - Emit static constexpr member as available_externally definition

2017-09-04 Thread Mehdi AMINI via cfe-commits
Hey Hans, Just a heads up that I fixed the issue and reapplies the commit in r312512. Let me know if any new issues occur! (and feel free to revert of course). Thanks, -- Mehdi 2017-08-28 14:18 GMT-07:00 Mehdi AMINI : > Sorry for the inconvenience! > > I will follow-up

r312512 - Emit static constexpr member as available_externally definition

2017-09-04 Thread Mehdi Amini via cfe-commits
Author: mehdi_amini Date: Mon Sep 4 20:58:35 2017 New Revision: 312512 URL: http://llvm.org/viewvc/llvm-project?rev=312512=rev Log: Emit static constexpr member as available_externally definition By exposing the constant initializer, the optimizer can fold many of these constructs. This is a

[PATCH] D37454: [coroutines] Make sure auto return type of await_resume is properly handled

2017-09-04 Thread Gor Nishanov via Phabricator via cfe-commits
GorNishanov marked an inline comment as done. GorNishanov added inline comments. Comment at: lib/Sema/SemaCoroutine.cpp:451 if (RetType->isReferenceType() || (AdjRetType != S.Context.BoolTy && AdjRetType != S.Context.VoidTy)) {

[PATCH] D37454: [coroutines] Make sure auto return type of await_resume is properly handled

2017-09-04 Thread Gor Nishanov via Phabricator via cfe-commits
GorNishanov updated this revision to Diff 113800. GorNishanov retitled this revision from "[coroutines] desugar auto type of await_resume before checking whether it is void or bool" to "[coroutines] Make sure auto return type of await_resume is properly handled". GorNishanov added a comment.

r312506 - Always allocate room for a ModuleDecl on the TranslationUnitDecl.

2017-09-04 Thread Richard Smith via cfe-commits
Author: rsmith Date: Mon Sep 4 17:50:19 2017 New Revision: 312506 URL: http://llvm.org/viewvc/llvm-project?rev=312506=rev Log: Always allocate room for a ModuleDecl on the TranslationUnitDecl. Sometimes we create the ASTContext and thus the TranslationUnitDecl before we know the LangOptions.

[PATCH] D37454: [coroutines] desugar auto type of await_resume before checking whether it is void or bool

2017-09-04 Thread Richard Smith - zygoloid via Phabricator via cfe-commits
rsmith added inline comments. Comment at: lib/Sema/SemaCoroutine.cpp:451 if (RetType->isReferenceType() || (AdjRetType != S.Context.BoolTy && AdjRetType != S.Context.VoidTy)) { S.Diag(AwaitSuspend->getCalleeDecl()->getLocation(), Don't

[PATCH] D37454: [coroutines] desugar auto type of await_resume before checking whether it is void or bool

2017-09-04 Thread Gor Nishanov via Phabricator via cfe-commits
GorNishanov created this revision. https://reviews.llvm.org/D37454 Files: lib/Sema/SemaCoroutine.cpp test/SemaCXX/coroutines.cpp Index: test/SemaCXX/coroutines.cpp === --- test/SemaCXX/coroutines.cpp +++

[PATCH] D37386: [AMDGPU] Implement infrastructure to set options in AMDGPUToolChain

2017-09-04 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl accepted this revision. yaxunl added a comment. LGTM. Thanks. https://reviews.llvm.org/D37386 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D37133: [libc++] Handle object files named *.obj in merge_archives.py

2017-09-04 Thread Martin Storsjö via Phabricator via cfe-commits
mstorsjo added a comment. In https://reviews.llvm.org/D37133#860563, @compnerd wrote: > `$` should give you the `.o` or `.obj` > files used to construct the library. I guess that would only work if they're built all as part of the same CMake invocation?

[PATCH] D37133: [libc++] Handle object files named *.obj in merge_archives.py

2017-09-04 Thread Saleem Abdulrasool via Phabricator via cfe-commits
compnerd added a comment. `$` should give you the `.o` or `.obj` files used to construct the library. https://reviews.llvm.org/D37133 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D37133: [libc++] Handle object files named *.obj in merge_archives.py

2017-09-04 Thread Martin Storsjö via Phabricator via cfe-commits
mstorsjo added a comment. Do you have any pointers on how to do it with CMake? https://reviews.llvm.org/D37133 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] r312498 - Add MINGW_LIBRARIES to the linker flags

2017-09-04 Thread Martin Storsjo via cfe-commits
Author: mstorsjo Date: Mon Sep 4 12:46:53 2017 New Revision: 312498 URL: http://llvm.org/viewvc/llvm-project?rev=312498=rev Log: Add MINGW_LIBRARIES to the linker flags This is essential when building with -nodefaultlibs. This is similar to what already is done in libcxxabi in SVN r302760.

[PATCH] D37207: [libc++] Add MINGW_LIBRARIES to the linker flags

2017-09-04 Thread Martin Storsjö via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL312498: Add MINGW_LIBRARIES to the linker flags (authored by mstorsjo). Changed prior to commit: https://reviews.llvm.org/D37207?vs=112873=113787#toc Repository: rL LLVM

[PATCH] D37134: [libc++] Rerun ranlib manually after merging the static libraries

2017-09-04 Thread Saleem Abdulrasool via Phabricator via cfe-commits
compnerd requested changes to this revision. compnerd added a comment. This revision now requires changes to proceed. If we handle this in CMake, this will be unnecessary. https://reviews.llvm.org/D37134 ___ cfe-commits mailing list

[PATCH] D37133: [libc++] Handle object files named *.obj in merge_archives.py

2017-09-04 Thread Saleem Abdulrasool via Phabricator via cfe-commits
compnerd requested changes to this revision. compnerd added a comment. This revision now requires changes to proceed. I think we should avoid this logic entirely and use CMake to do this. https://reviews.llvm.org/D37133 ___ cfe-commits mailing list

[PATCH] D37416: Use the VFS from the CompilerInvocation by default

2017-09-04 Thread Vassil Vassilev via Phabricator via cfe-commits
v.g.vassilev added a comment. You should probably update the code creating the vfs before the call to `createFileManager` in `lib/Frontend/FrontendAction.cpp`. Repository: rL LLVM https://reviews.llvm.org/D37416 ___ cfe-commits mailing list

[PATCH] D37449: [X86][AVX512] _mm512_stream_load_si512 should take a void const* argument (PR33977)

2017-09-04 Thread Simon Pilgrim via Phabricator via cfe-commits
RKSimon created this revision. Based off the Intel Intrinsics guide, we should expect a void const* argument. Prevents 'passing 'const void *' to parameter of type 'void *' discards qualifiers' warnings. Repository: rL LLVM https://reviews.llvm.org/D37449 Files:

[PATCH] D37448: Fix cast assertion on MS inline assembly with vector spills (PR34021)

2017-09-04 Thread Simon Pilgrim via Phabricator via cfe-commits
RKSimon created this revision. I can add the other test cases from PR34021 if required? Repository: rL LLVM https://reviews.llvm.org/D37448 Files: lib/CodeGen/CGStmt.cpp test/CodeGen/pr34021.c Index: test/CodeGen/pr34021.c

Re: [PATCH] D36562: [Bitfield] Make the bitfield a separate location if it has width of legal integer type and its bit offset is naturally aligned for the type

2017-09-04 Thread Xinliang David Li via cfe-commits
On Mon, Sep 4, 2017 at 1:57 AM, Chandler Carruth wrote: > On Sun, Sep 3, 2017 at 10:41 PM Hal Finkel via llvm-commits < > llvm-comm...@lists.llvm.org> wrote: > >> Nevertheless, I think that you've convinced me that this is a least-bad >> solution. I'll want a flag preserving

Re: [PATCH] D36562: [Bitfield] Make the bitfield a separate location if it has width of legal integer type and its bit offset is naturally aligned for the type

2017-09-04 Thread Xinliang David Li via cfe-commits
On Mon, Sep 4, 2017 at 9:17 AM, Hal Finkel wrote: > > On 09/04/2017 03:57 AM, Chandler Carruth wrote: > > On Sun, Sep 3, 2017 at 10:41 PM Hal Finkel via llvm-commits < > llvm-comm...@lists.llvm.org> wrote: > >> Nevertheless, I think that you've convinced me that this is a

[PATCH] D37386: [AMDGPU] Implement infrastructure to set options in AMDGPUToolChain

2017-09-04 Thread Andrey Kasaurov via Phabricator via cfe-commits
kasaurov updated this revision to Diff 113780. kasaurov added a comment. Test added to check passing of -On/default https://reviews.llvm.org/D37386 Files: lib/Driver/ToolChains/AMDGPU.cpp lib/Driver/ToolChains/AMDGPU.h test/Driver/amdgpu-toolchain-opencl.cl Index:

[PATCH] D37299: [Modules] Add ability to specify module name to module file mapping in a file

2017-09-04 Thread Boris Kolpackov via Phabricator via cfe-commits
boris updated this revision to Diff 113779. boris marked an inline comment as done. boris added a comment. New patch revision with David's comments addressed. https://reviews.llvm.org/D37299 Files: docs/Modules.rst include/clang/Basic/DiagnosticDriverKinds.td

[PATCH] D37299: [Modules] Add ability to specify module name to module file mapping in a file

2017-09-04 Thread Boris Kolpackov via Phabricator via cfe-commits
boris marked 3 inline comments as done. boris added a comment. David, thanks for the review. Uploading the new revision (also rebased on HEAD). Comment at: lib/Frontend/CompilerInvocation.cpp:1576 + StringRef Str = Buf.get()->getBuffer(); + for (size_t B(0), E(B); B <

[PATCH] D37386: [AMDGPU] Implement infrastructure to set options in AMDGPUToolChain

2017-09-04 Thread Stanislav Mekhanoshin via Phabricator via cfe-commits
rampitec accepted this revision. rampitec added a comment. This revision is now accepted and ready to land. LGTM https://reviews.llvm.org/D37386 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D37390: [diagtool] Change default tree behavior to print only flags

2017-09-04 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman accepted this revision. arphaman added a comment. This revision is now accepted and ready to land. LGTM. Please precommit the `auto` loop modernization though. You might want to use `llvm::make_range` for for-ranged loops as well. https://reviews.llvm.org/D37390

[PATCH] D37386: [AMDGPU] Implement infrastructure to set options in AMDGPUToolChain

2017-09-04 Thread Andrey Kasaurov via Phabricator via cfe-commits
kasaurov added inline comments. Comment at: lib/Driver/ToolChains/AMDGPU.h:60 bool IsIntegratedAssemblerDefault() const override { return true; } + llvm::opt::DerivedArgList * + TranslateArgs(const llvm::opt::DerivedArgList , StringRef BoundArch, emankov

[PATCH] D37386: [AMDGPU] Implement infrastructure to set options in AMDGPUToolChain

2017-09-04 Thread Andrey Kasaurov via Phabricator via cfe-commits
kasaurov updated this revision to Diff 113767. kasaurov added a comment. Several requested changes: - move map initialization out of header file -- visually it looks better in .h file, but logically it should be in .cpp - add assert() in getOptionDefault() -- check for unknown to OptionsDefault

Re: [PATCH] D36562: [Bitfield] Make the bitfield a separate location if it has width of legal integer type and its bit offset is naturally aligned for the type

2017-09-04 Thread Hal Finkel via cfe-commits
On 09/04/2017 03:57 AM, Chandler Carruth wrote: On Sun, Sep 3, 2017 at 10:41 PM Hal Finkel via llvm-commits > wrote: Nevertheless, I think that you've convinced me that this is a least-bad solution. I'll want a flag

[PATCH] D37442: [C++17] Disallow lambdas in template parameters (PR33696).

2017-09-04 Thread Blitz Rakete via Phabricator via cfe-commits
Rakete created this revision. This revision disallows lambdas in template parameters, as reported in PR33696. https://reviews.llvm.org/D37442 Files: include/clang/Basic/DiagnosticSemaKinds.td include/clang/Sema/Sema.h lib/Parse/ParseTemplate.cpp lib/Sema/Sema.cpp

[PATCH] D37299: [Modules] Add ability to specify module name to module file mapping in a file

2017-09-04 Thread David Blaikie via Phabricator via cfe-commits
dblaikie added a comment. Couple of drive by comments - no doubt Richard will have a more in depth review, but figured this might save a round or two. Comment at: lib/Frontend/CompilerInvocation.cpp:1561-1565 + if (File.empty()) + { +

[libclc] r312491 - Fixup clc.h comment

2017-09-04 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Mon Sep 4 08:52:03 2017 New Revision: 312491 URL: http://llvm.org/viewvc/llvm-project?rev=312491=rev Log: Fixup clc.h comment Signed-off-by: Jan Vesely Modified: libclc/trunk/generic/include/clc/clc.h Modified:

[libclc] r312492 - r600: Cleanup barrier implementation.

2017-09-04 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Mon Sep 4 08:52:05 2017 New Revision: 312492 URL: http://llvm.org/viewvc/llvm-project?rev=312492=rev Log: r600: Cleanup barrier implementation. We don't have memory fences for r600 so just call group barrier directly Make sure that barrier is called even with 0 flags

[libclc] r312493 - amdgcn,waitcnt: Add datalayout info

2017-09-04 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Mon Sep 4 08:52:07 2017 New Revision: 312493 URL: http://llvm.org/viewvc/llvm-project?rev=312493=rev Log: amdgcn,waitcnt: Add datalayout info This file is only compiled for GCN which all share the same layout Signed-off-by: Jan Vesely Reviewed-by:

Re: [PATCH] D37428: Debug info: Fixed faulty debug locations for attributed statements

2017-09-04 Thread David Blaikie via cfe-commits
Seems like the test case should/could be simplified a bit, maybe? (could it be something really simple like "void f(bool b) { #pragma ... while (b) ; }"?) Also, is it relying on LLVM optimizations to run (add "-disable-llvm-passes" to the command line to be sure it isn't, perhaps?)? On Sun, Sep

[PATCH] D37437: [analyzer] Fix SimpleStreamChecker's output plist not containing the checker name

2017-09-04 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ added a comment. Cool. Thanks! > In the future probably it would be better to alter the signature of the > checkers' constructor to set the name in the constructor so it is possible to > create the BugType eagerly. Still, should we add an assertion so that we could be sure that every bug

[PATCH] D36347: Add new script to launch lldb and set breakpoints for diagnostics all diagnostics seen.

2017-09-04 Thread Don Hinton via Phabricator via cfe-commits
hintonda added a comment. ping... https://reviews.llvm.org/D36347 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D37437: [analyzer] Fix SimpleStreamChecker's output plist not containing the checker name

2017-09-04 Thread Gábor Horváth via Phabricator via cfe-commits
xazax.hun created this revision. Herald added subscribers: baloghadamsoftware, whisperity. Unfortunately, currently, the analyzer core sets the checker name after the constructor was already run. So if we set the BugType in the constructor, the output plist will not contain a checker name.

[PATCH] D37436: Initial implementation of C attributes (WG14 N2137)

2017-09-04 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman created this revision. Herald added a subscriber: javed.absar. WG14 has demonstrated sincere interest in adding C++-style attributes to C for C2x, and have added the proposal to their SD-3 document tracking features which are possibly desired for the next version of the standard.

r312484 - clang-format: Fix indentation of macros in include guards (after r312125).

2017-09-04 Thread Daniel Jasper via cfe-commits
Author: djasper Date: Mon Sep 4 06:33:52 2017 New Revision: 312484 URL: http://llvm.org/viewvc/llvm-project?rev=312484=rev Log: clang-format: Fix indentation of macros in include guards (after r312125). Before: #ifndef A_H #define A_H #define A() \ int i;\ int j; #endif // A_H

[PATCH] D37282: clangd: Tolerate additional headers

2017-09-04 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov added a comment. In https://reviews.llvm.org/D37282#860239, @puremourning wrote: > No I don't have commit rights. Can you land for me? Thanks! Done. Repository: rL LLVM https://reviews.llvm.org/D37282 ___ cfe-commits mailing

[clang-tools-extra] r312483 - clangd: Tolerate additional headers

2017-09-04 Thread Ilya Biryukov via cfe-commits
Author: ibiryukov Date: Mon Sep 4 05:28:15 2017 New Revision: 312483 URL: http://llvm.org/viewvc/llvm-project?rev=312483=rev Log: clangd: Tolerate additional headers Summary: The language server protocol specified 2 headers (Content-Length and Content-Type), but does not specify their

[PATCH] D37282: clangd: Tolerate additional headers

2017-09-04 Thread Phabricator via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL312483: clangd: Tolerate additional headers (authored by ibiryukov). Repository: rL LLVM https://reviews.llvm.org/D37282 Files: clang-tools-extra/trunk/clangd/JSONRPCDispatcher.cpp

[PATCH] D36574: [refactor] add clang-refactor tool with initial testing support and local-rename action

2017-09-04 Thread Manuel Klimek via Phabricator via cfe-commits
klimek added inline comments. Comment at: test/Refactor/LocalRename/Field.cpp:4 +class Baz { + int /*range=*/Foo; // CHECK: symbol [[@LINE]]:17 -> [[@LINE]]:20 +public: arphaman wrote: > klimek wrote: > > arphaman wrote: > > > klimek wrote: > > > > Does this

[PATCH] D34512: Add preliminary Cross Translation Unit support library

2017-09-04 Thread Gábor Horváth via Phabricator via cfe-commits
xazax.hun added inline comments. Comment at: lib/CrossTU/CrossTranslationUnit.cpp:82 +size_t Pos = Line.find(" "); +StringRef LineRef{Line}; +if (Pos > 0 && Pos != std::string::npos) { danielmarjamaki wrote: > LineRef can be const StringRef is an

[PATCH] D34512: Add preliminary Cross Translation Unit support library

2017-09-04 Thread Gábor Horváth via Phabricator via cfe-commits
xazax.hun updated this revision to Diff 113740. xazax.hun marked 19 inline comments as done. xazax.hun added a comment. - Make the API capable of using custom lookup strategies for CTU - Fix review comments https://reviews.llvm.org/D34512 Files: include/clang/Basic/AllDiagnostics.h

[PATCH] D37282: clangd: Tolerate additional headers

2017-09-04 Thread Ben Jackson via Phabricator via cfe-commits
puremourning added a comment. In https://reviews.llvm.org/D37282#860200, @ilya-biryukov wrote: > Looks good and ready to land. Thanks for this change. > Do you have commit rights to llvm repo? Thanks for the review! No I don't have commit rights. Can you land for me? Thanks!

[PATCH] D36574: [refactor] add clang-refactor tool with initial testing support and local-rename action

2017-09-04 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman added a comment. In https://reviews.llvm.org/D36574#860203, @klimek wrote: > In https://reviews.llvm.org/D36574#860197, @arphaman wrote: > > > In https://reviews.llvm.org/D36574#858763, @klimek wrote: > > > > > One of my main concerns is still that I don't see the need for all the > >

[PATCH] D37101: [clangd] Add support for snippet completions

2017-09-04 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov added a comment. Looks good overall, just a bunch of comments before accepting the revision. Mostly minor code style issues, sorry for spamming you with those. Comment at: clangd/ClangdLSPServer.h:30 ClangdLSPServer(JSONOutput , unsigned AsyncThreadsCount, +

r312479 - Fix MSVC narrowing conversion warning.

2017-09-04 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Mon Sep 4 03:54:39 2017 New Revision: 312479 URL: http://llvm.org/viewvc/llvm-project?rev=312479=rev Log: Fix MSVC narrowing conversion warning. Modified: cfe/trunk/lib/Serialization/ASTWriter.cpp Modified: cfe/trunk/lib/Serialization/ASTWriter.cpp URL:

[PATCH] D36574: [refactor] add clang-refactor tool with initial testing support and local-rename action

2017-09-04 Thread Eric Liu via Phabricator via cfe-commits
ioeric added inline comments. Comment at: include/clang/Tooling/Refactoring/RefactoringAction.h:20 + +class RefactoringAction { +public: Please add documentation for the class. I appreciate your RFC that explains all these concepts; it would be nice if you

[PATCH] D37282: clangd: Tolerate additional headers

2017-09-04 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov added inline comments. Comment at: clangd/JSONRPCDispatcher.cpp:167 + // It's another header, ignore it. continue; +} else { puremourning wrote: > ilya-biryukov wrote: > > Maybe log the skipped header? > I think this would just be

[PATCH] D36574: [refactor] add clang-refactor tool with initial testing support and local-rename action

2017-09-04 Thread Manuel Klimek via Phabricator via cfe-commits
klimek added a comment. In https://reviews.llvm.org/D36574#860197, @arphaman wrote: > In https://reviews.llvm.org/D36574#858763, @klimek wrote: > > > One of my main concerns is still that I don't see the need for all the > > template magic yet :) Why doesn't everybody use the RefactoringResult

[PATCH] D37282: clangd: Tolerate additional headers

2017-09-04 Thread Ilya Biryukov via Phabricator via cfe-commits
ilya-biryukov accepted this revision. ilya-biryukov added a comment. This revision is now accepted and ready to land. Looks good and ready to land. Thanks for this change. Do you have commit rights to llvm repo? https://reviews.llvm.org/D37282 ___

[PATCH] D37390: [diagtool] Change default tree behavior to print only flags

2017-09-04 Thread Jonas Devlieghere via Phabricator via cfe-commits
JDevlieghere updated this revision to Diff 113737. JDevlieghere added a comment. Thanks Alex! https://reviews.llvm.org/D37390 Files: test/Misc/warning-flags-tree.c tools/diagtool/TreeView.cpp Index: tools/diagtool/TreeView.cpp

[PATCH] D36574: [refactor] add clang-refactor tool with initial testing support and local-rename action

2017-09-04 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman added a comment. In https://reviews.llvm.org/D36574#858763, @klimek wrote: > One of my main concerns is still that I don't see the need for all the > template magic yet :) Why doesn't everybody use the RefactoringResult we > define here? @klimek, are you talking about the template

[PATCH] D36574: [refactor] add clang-refactor tool with initial testing support and local-rename action

2017-09-04 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman updated this revision to Diff 113736. arphaman marked an inline comment as done. arphaman added a comment. Get rid of inheritance of `RefactoringEngine` by getting rid of the class itself. Repository: rL LLVM https://reviews.llvm.org/D36574 Files:

[PATCH] D37390: [diagtool] Change default tree behavior to print only flags

2017-09-04 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman added a comment. The diagtool tests should go to `test/Misc`, and there's an existing `diagtool tree` test there that has to be updated as well. Repository: rL LLVM https://reviews.llvm.org/D37390 ___ cfe-commits mailing list

[PATCH] D37390: [diagtool] Change default tree behavior to print only flags

2017-09-04 Thread Jonas Devlieghere via Phabricator via cfe-commits
JDevlieghere updated this revision to Diff 113731. JDevlieghere added a comment. Herald added subscribers: aheejin, klimek. Thanks for the review Adrian! I somehow completely overlooked the existing `--flags-only` option in `diagtool tree`. Obviously it makes much more sense to implement

[PATCH] D36390: Fix overloaded static functions in SemaCodeComplete

2017-09-04 Thread Ivan Donchevskii via Phabricator via cfe-commits
yvvan added a comment. ping https://reviews.llvm.org/D36390 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D36562: [Bitfield] Make the bitfield a separate location if it has width of legal integer type and its bit offset is naturally aligned for the type

2017-09-04 Thread Chandler Carruth via cfe-commits
On Sun, Sep 3, 2017 at 10:41 PM Hal Finkel via llvm-commits < llvm-comm...@lists.llvm.org> wrote: > Nevertheless, I think that you've convinced me that this is a least-bad > solution. I'll want a flag preserving the old behavior. Something like > -fwiden-bitfield-accesses (modulo bikeshedding). >

[PATCH] D36998: [AST] Traverse templates in LexicallyOrderedRecursiveASTVisitor

2017-09-04 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman accepted this revision. arphaman added a comment. This revision is now accepted and ready to land. LGTM https://reviews.llvm.org/D36998 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D37383: [AST] Add TableGen for StmtDataCollectors

2017-09-04 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman added a comment. LGTM with one inline comment below: Comment at: utils/TableGen/TableGen.cpp:151 clEnumValN(GenOptDocs, "gen-opt-docs", "Generate option documentation"), +clEnumValN(GenDataCollectors, "gen-clang-data-collectors", "Generate data

[PATCH] D37383: [AST] Add TableGen for StmtDataCollectors

2017-09-04 Thread Alex Lorenz via Phabricator via cfe-commits
arphaman accepted this revision. arphaman added a comment. `def`s could work, but I think that we should stick with TableGen. As you've said, we'd be able to introduce some sort of structure instead of just code in the future which will be better (Ideally we'd try to do it now, but given the

[PATCH] D37231: Add half load and store builtins

2017-09-04 Thread Jan Vesely via Phabricator via cfe-commits
jvesely requested review of this revision. jvesely added a comment. please let me know if your accept still stands for the modified version. Repository: rL LLVM https://reviews.llvm.org/D37231 ___ cfe-commits mailing list

[PATCH] D37433: [cxx_status] Mark coroutine TS support as clang 5.0 and change class from svn to full for P0096R4

2017-09-04 Thread Richard Smith - zygoloid via Phabricator via cfe-commits
rsmith added a comment. Part of this change (marking the coroutines TS as "Clang 5") is already done, and we will change all the `class="svn"` entries on this page to `class="full"` when Clang 5 releases (we keep them in the yellow "SVN" color until they're in a released version of Clang).