[PATCH] D33020: [Myriad] Pass -Xclang and -mllvm flags to moviCompile

2017-05-09 Thread Walter Lee via Phabricator via cfe-commits
waltl created this revision. https://reviews.llvm.org/D33020 Files: lib/Driver/ToolChains/Myriad.cpp test/Driver/myriad-toolchain.c Index: test/Driver/myriad-toolchain.c === --- test/Driver/myriad-toolchain.c +++ test/Driver/my

[PATCH] D33020: [Myriad] Pass -Xclang and -mllvm flags to moviCompile

2017-05-09 Thread Walter Lee via Phabricator via cfe-commits
waltl updated this revision to Diff 98369. https://reviews.llvm.org/D33020 Files: lib/Driver/ToolChains/Myriad.cpp test/Driver/myriad-toolchain.c Index: test/Driver/myriad-toolchain.c === --- test/Driver/myriad-toolchain.c +++

r302598 - [ubsan] Mark overflow checks with !nosanitize

2017-05-09 Thread Vedant Kumar via cfe-commits
Author: vedantk Date: Tue May 9 18:34:49 2017 New Revision: 302598 URL: http://llvm.org/viewvc/llvm-project?rev=302598&view=rev Log: [ubsan] Mark overflow checks with !nosanitize Sanitizer instrumentation generally needs to be marked with !nosanitize, but we're not doing this properly for ubsan'

[PATCH] D33021: [libcxx] [test] libc++ test changes for CWG 2094

2017-05-09 Thread Billy Robert O'Neal III via Phabricator via cfe-commits
BillyONeal created this revision. Update is_trivially_copyable tests with CWG 2094 Clang 5.0 implements this here: https://github.com/llvm-mirror/clang/commit/87cd035326a39523eeb1b295ad36cff337141ef9 MSVC++ will implement it in the first toolset update for VS 2017. https://reviews.llvm.org/D33

[PATCH] D32988: [libc++] Refactor Windows support headers.

2017-05-09 Thread David Majnemer via Phabricator via cfe-commits
majnemer added inline comments. Comment at: include/support/win32/msvc_builtin_support.h:33 + +_LIBCPP_ALWAYS_INLINE int __builtin_popcount(unsigned int x) +{ compnerd wrote: > I think I prefer the following implementation: > > _LIBCPP_ALWAYS_INLINE int __bu

[PATCH] D33021: [libcxx] [test] libc++ test changes for CWG 2094

2017-05-09 Thread Billy Robert O'Neal III via Phabricator via cfe-commits
BillyONeal added inline comments. Comment at: test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp:25 + #define IMPLEMENTS_CWG_2094 false + #endif /* defined(_MSC_VER) && _MSC_VER >= 1911 */ +#endif Whoops, I fat fingered the closin

[PATCH] D32724: [Modules] Handle sanitizer feature mismatches when importing modules

2017-05-09 Thread Adrian Prantl via Phabricator via cfe-commits
aprantl added inline comments. Comment at: include/clang/Basic/Sanitizers.h:64 - /// \brief Disable all sanitizers. - void clear() { Mask = 0; } + /// \brief Disable the sanitizers specified in \p K (by default, disable + /// all sanitizers). Might as well

[PATCH] D33021: [libcxx] [test] libc++ test changes for CWG 2094

2017-05-09 Thread Billy Robert O'Neal III via Phabricator via cfe-commits
BillyONeal updated this revision to Diff 98370. BillyONeal edited the summary of this revision. BillyONeal added a comment. Eric asked to just nuke the offending lines. https://reviews.llvm.org/D33021 Files: test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp

[libcxx] r302600 - Fix misspelling of environment throughout libc++

2017-05-09 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue May 9 18:47:20 2017 New Revision: 302600 URL: http://llvm.org/viewvc/llvm-project?rev=302600&view=rev Log: Fix misspelling of environment throughout libc++ Modified: libcxx/trunk/docs/TestingLibcxx.rst libcxx/trunk/test/support/filesystem_dynamic_test_helper.py

[PATCH] D32724: [Modules] Handle sanitizer feature mismatches when importing modules

2017-05-09 Thread Vedant Kumar via Phabricator via cfe-commits
vsk updated this revision to Diff 98371. vsk marked 2 inline comments as done. vsk added a comment. Address comments from Adrian. (I settled on renaming 'getModularSanitizers' to 'getPPTransparentSanitizers'.) https://reviews.llvm.org/D32724 Files: include/clang/Basic/Sanitizers.h lib/Basi

[libcxx] r302602 - Fix test runtime environment on Windows

2017-05-09 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue May 9 18:57:22 2017 New Revision: 302602 URL: http://llvm.org/viewvc/llvm-project?rev=302602&view=rev Log: Fix test runtime environment on Windows Modified: libcxx/trunk/utils/libcxx/test/config.py Modified: libcxx/trunk/utils/libcxx/test/config.py URL: http://llvm

r302603 - When instantiating a friend function template, don't forget to inherit default template arguments from other declarations.

2017-05-09 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue May 9 19:01:13 2017 New Revision: 302603 URL: http://llvm.org/viewvc/llvm-project?rev=302603&view=rev Log: When instantiating a friend function template, don't forget to inherit default template arguments from other declarations. Modified: cfe/trunk/lib/Sema/SemaTem

[libcxx] r302604 - Attempt to unbreak Libc++ test configuration

2017-05-09 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue May 9 19:05:04 2017 New Revision: 302604 URL: http://llvm.org/viewvc/llvm-project?rev=302604&view=rev Log: Attempt to unbreak Libc++ test configuration Modified: libcxx/trunk/utils/libcxx/test/config.py Modified: libcxx/trunk/utils/libcxx/test/config.py URL: http:/

[PATCH] D33021: [libcxx] [test] libc++ test changes for CWG 2094

2017-05-09 Thread Billy Robert O'Neal III via Phabricator via cfe-commits
BillyONeal updated this revision to Diff 98376. BillyONeal added a comment. Bill got confused. https://reviews.llvm.org/D33021 Files: test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp Index: test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_co

[PATCH] D32988: [libc++] Refactor Windows support headers.

2017-05-09 Thread Eric Fiselier via Phabricator via cfe-commits
EricWF added inline comments. Comment at: include/__config:232-235 +#ifndef NOMINMAX +#define NOMINMAX +#endif + compnerd wrote: > bcraig wrote: > > I can see this helping when we are build libc++, but I don't think it helps > > client apps. They could have inc

[libcxx] r302607 - Improve how LIT reports the added environment variables

2017-05-09 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue May 9 19:23:58 2017 New Revision: 302607 URL: http://llvm.org/viewvc/llvm-project?rev=302607&view=rev Log: Improve how LIT reports the added environment variables Modified: libcxx/trunk/utils/libcxx/test/config.py Modified: libcxx/trunk/utils/libcxx/test/config.py U

[libcxx] r302614 - Add MinGW64 builder to Appveyor.

2017-05-09 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue May 9 21:30:16 2017 New Revision: 302614 URL: http://llvm.org/viewvc/llvm-project?rev=302614&view=rev Log: Add MinGW64 builder to Appveyor. With the amount of work happening on Windows we should have a MinGW bot to make sure we don't regress that functionality. Currently

r302615 - When we see a '<' operator, check whether it's a probable typo for a template-id.

2017-05-09 Thread Richard Smith via cfe-commits
Author: rsmith Date: Tue May 9 21:30:28 2017 New Revision: 302615 URL: http://llvm.org/viewvc/llvm-project?rev=302615&view=rev Log: When we see a '<' operator, check whether it's a probable typo for a template-id. The heuristic that we use here is: * the left-hand side must be a simple identif

[libcxx] r302616 - attempt to fix appveyor syntax error

2017-05-09 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue May 9 21:34:56 2017 New Revision: 302616 URL: http://llvm.org/viewvc/llvm-project?rev=302616&view=rev Log: attempt to fix appveyor syntax error Modified: libcxx/trunk/appveyor.yml Modified: libcxx/trunk/appveyor.yml URL: http://llvm.org/viewvc/llvm-project/libcxx/t

[PATCH] D29654: [OpenMP] Integrate OpenMP target region cubin into host binary

2017-05-09 Thread Hal Finkel via Phabricator via cfe-commits
hfinkel added inline comments. Comment at: lib/Driver/ToolChains/Cuda.cpp:388 + + // add paths specified in LIBRARY_PATH environment variable as -L options. + addDirectoryList(Args, CmdArgs, "-L", "LIBRARY_PATH"); Comment sentences should start with a capital l

[libcxx] r302617 - Support using MinGW POSIX threads on Windows

2017-05-09 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue May 9 21:36:48 2017 New Revision: 302617 URL: http://llvm.org/viewvc/llvm-project?rev=302617&view=rev Log: Support using MinGW POSIX threads on Windows Modified: libcxx/trunk/include/__config Modified: libcxx/trunk/include/__config URL: http://llvm.org/viewvc/llvm-

[libcxx] r302619 - Rename Appveyor install helper script.

2017-05-09 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Tue May 9 21:43:02 2017 New Revision: 302619 URL: http://llvm.org/viewvc/llvm-project?rev=302619&view=rev Log: Rename Appveyor install helper script. I'm really lazy and the old name for the helper script killed 2 letter tab completion for the include directory. This patch r

[PATCH] D30909: [Analyzer] Finish taint propagation to derived symbols of tainted regions

2017-05-09 Thread Vlad Tsyrklevich via Phabricator via cfe-commits
vlad.tsyrklevich updated this revision to Diff 98390. vlad.tsyrklevich marked 3 inline comments as done. vlad.tsyrklevich added a comment. Herald added a subscriber: xazax.hun. - Update the logic to move the LCV symbol logic into ProgramState::addTaint(SVal) out of the GenericTaintChecker. This a

[PATCH] D33013: Driver must return non-zero code on errors in command line

2017-05-09 Thread Serge Pavlov via Phabricator via cfe-commits
sepavloff updated this revision to Diff 98395. sepavloff added a comment. Addressed reviewer's notes. https://reviews.llvm.org/D33013 Files: lib/Driver/Driver.cpp test/Driver/aarch64-cpus.c test/Driver/amdgpu-features.c test/Driver/arm-darwin-builtin.c test/Driver/arm-default-build-at

Re: [PATCH] D24933: Enable configuration files in clang

2017-05-09 Thread Serge Pavlov via cfe-commits
2017-05-10 3:46 GMT+07:00 Richard Smith : > On 1 March 2017 at 02:50, Serge Pavlov via Phabricator < > revi...@reviews.llvm.org> wrote: > >> >> Format of configuration file is similar to file used in the construct >> `@file`, it is a set of options. Configuration file have advantage over >> this c

[PATCH] D28952: [analyzer] Add new Z3 constraint manager backend

2017-05-09 Thread wangrunan via Phabricator via cfe-commits
iris added a comment. How can I make z3constraintmanager.cpp work in the command line?Or how to make z3 work? Repository: rL LLVM https://reviews.llvm.org/D28952 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-b

[PATCH] D33029: [clang-format] add option for dangling parenthesis

2017-05-09 Thread Ryan Stringham via Phabricator via cfe-commits
stringham created this revision. stringham added a project: clang-tools-extra. Herald added a subscriber: klimek. This adds an option to clang-format to support dangling parenthesis. If you have a parameter list like Foo( param1, param2, param3, ); clang-format currently only supports p

[PATCH] D33029: [clang-format] add option for dangling parenthesis

2017-05-09 Thread Daniel Jasper via Phabricator via cfe-commits
djasper added a comment. Please read and address: https://clang.llvm.org/docs/ClangFormatStyleOptions.html#adding-additional-style-options https://reviews.llvm.org/D33029 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org

[PATCH] D32437: [analyzer] Nullability: fix a crash when adding notes inside a synthesized property accessor.

2017-05-09 Thread Anna Zaks via Phabricator via cfe-commits
zaks.anna accepted this revision. zaks.anna added a comment. This revision is now accepted and ready to land. > These new "extra notes" of mine might be useful (we could put them at > property declaration), i could add them if everybody likes this idea. What are these? Is there a PR? It would b

[PATCH] D33030: [libcxxabi] Align unwindHeader on a double-word boundary

2017-05-09 Thread Akira Hatanaka via Phabricator via cfe-commits
ahatanak created this revision. r276215 made a change to annotate _Unwind_Exception with "__attribute__((__aligned__))" so that exception objects are double-word aligned. This fix hasn't been incorporated to unwind.h on Darwin yet and, since it is an ABI breaking change, I'm not sure it will e

[PATCH] D31029: [analyzer] Fix logical not for pointers with different bit width

2017-05-09 Thread Anna Zaks via Phabricator via cfe-commits
zaks.anna added a comment. Sorry for the delay!!! Comment at: include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h:180 + inline const llvm::APSInt &getZeroWithTypeSize(QualType T, + bool isUnsigned = true) { +

[PATCH] D32437: [analyzer] Nullability: fix a crash when adding notes inside a synthesized property accessor.

2017-05-09 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ added a comment. > What are these? Is there a PR? The best explanation we currently have, with examples, is https://reviews.llvm.org/D24278 > It would be great if we could place a note on a parent that has location. That's actually the best approach in my opinion, if achievable. > For exa

[PATCH] D32437: [analyzer] Nullability: fix a crash when adding notes inside a synthesized property accessor.

2017-05-09 Thread Anna Zaks via Phabricator via cfe-commits
zaks.anna added a comment. > That wouldn't work this way because we'd have the completely redundant > "calling property accessor" piece before that, and "returning..." after that. I think we should not print "calling" and "returning" for calling into and returning from autogenerated code, If we

[PATCH] D32437: [analyzer] Nullability: fix a crash when adding notes inside a synthesized property accessor.

2017-05-09 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ added a comment. In https://reviews.llvm.org/D32437#750622, @zaks.anna wrote: > > That wouldn't work this way because we'd have the completely redundant > > "calling property accessor" piece before that, and "returning..." after > > that. > > I think we should not print "calling" and "retur

[PATCH] D30748: [Lexer] Finding beginning of token with escaped new line

2017-05-09 Thread Paweł Żukowski via Phabricator via cfe-commits
idlecode added a comment. Oh, sorry about this - I forgot. I will send patch during this weekend https://reviews.llvm.org/D30748 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

<    1   2