r316055 - [modules] When finding the owning module of an instantiated context in template

2017-10-17 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Oct 17 18:41:38 2017 New Revision: 316055 URL: http://llvm.org/viewvc/llvm-project?rev=316055&view=rev Log: [modules] When finding the owning module of an instantiated context in template instantiation, follow lexical parents not semantic ones: we want to find the module w

Re: r315856 - Add -f[no-]double-square-bracket-attributes as new driver options to control use of [[]] attributes in all language modes. This is the initial implementation of WG14 N2165, which is a pr

2017-10-17 Thread Galina Kistanova via cfe-commits
Hello Aaron, This commit broke one our builders: http://lab.llvm.org:8011/builders/ubuntu-gcc7.1-werror/builds/2272 . . . FAILED: /usr/local/gcc-7.1/bin/g++-7.1 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/Bas

r316056 - Provide a flag group to turn on/off all "binary literals" extension warnings.

2017-10-17 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue Oct 17 19:19:24 2017 New Revision: 316056 URL: http://llvm.org/viewvc/llvm-project?rev=316056&view=rev Log: Provide a flag group to turn on/off all "binary literals" extension warnings. Modified: cfe/trunk/include/clang/Basic/DiagnosticGroups.td cfe/trunk/include/

[PATCH] D39033: [libcxx] [test] Tolerate [[nodiscard]] on STL functions in libcxx tests

2017-10-17 Thread Billy Robert O'Neal III via Phabricator via cfe-commits
BillyONeal created this revision. I applied [[nodiscard]] to lots of things in MSVC++'s STL, which trips up some tests in libcxx. This change adds (void) casts or assertions as necessary to make [[nodiscard]] happy. Repository: rL LLVM https://reviews.llvm.org/D39033 Files: test/std/cont

[PATCH] D39035: Unnamed bitfields don't block constant evaluation of constexpr constructors

2017-10-17 Thread Jordan Rose via Phabricator via cfe-commits
jordan_rose created this revision. jordan_rose added a project: clang. C++14 [dcl.constexpr]p4 states that in the body of a constexpr constructor, > every non-variant non-static data member and base class sub-object shall be > initialized However, [class.bit]p2 notes that > Unnamed bit-fields

[PATCH] D38354: Fix test by using -target instead of cc1 arguments (c-index-test goes through the driver)

2017-10-17 Thread Argyrios Kyrtzidis via Phabricator via cfe-commits
akyrtzi added a comment. FYI, I had added -target in this test in r296263 but it was still failing for some reason in some bots, that's why I then switched to triple via r296265. I'm not sure if it's going work now or not for all bots, but it does, that is definitely better. https://reviews.ll

[PATCH] D37905: [libclang, bindings]: add spelling location

2017-10-17 Thread Saleem Abdulrasool via Phabricator via cfe-commits
compnerd accepted this revision. compnerd added a comment. @frutiger you have commit rights now right? https://reviews.llvm.org/D37905 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D39037: check-libcxx: Introduce config.test_retry_attempts for std/thread.

2017-10-17 Thread NAKAMURA Takumi via Phabricator via cfe-commits
chapuni created this revision. I thought we could mark entire tests in std/thread as flaky. Repository: rL LLVM https://reviews.llvm.org/D39037 Files: libcxx/trunk/test/std/thread/lit.local.cfg libcxx/trunk/utils/libcxx/test/format.py Index: libcxx/trunk/utils/libcxx/test/format.py ===

r316061 - [CMake] Use #cmakedefine01 for CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER)

2017-10-17 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Tue Oct 17 22:21:17 2017 New Revision: 316061 URL: http://llvm.org/viewvc/llvm-project?rev=316061&view=rev Log: [CMake] Use #cmakedefine01 for CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER) It'd be better that they are #cmakedefine01 rather than #cmakedefine. (#if FOO r

[PATCH] D35541: [CMake] Use #cmakedefine01 for CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER)

2017-10-17 Thread NAKAMURA Takumi via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL316061: [CMake] Use #cmakedefine01 for CLANG_ENABLE_… (authored by chapuni). Repository: rL LLVM https://reviews.llvm.org/D35541 Files: cfe/trunk/include/clang/Config/config.h.cmake cfe/trunk/lib/

[PATCH] D35541: [CMake] Use #cmakedefine01 for CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER)

2017-10-17 Thread Krasimir Georgiev via Phabricator via cfe-commits
krasimir added a comment. How is this even reviewed? Repository: rL LLVM https://reviews.llvm.org/D35541 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

<    1   2