[PATCH] D26061: [analyzer] Refactor and simplify SimpleConstraintManager

2017-02-18 Thread Dominic Chen via Phabricator via cfe-commits
ddcc updated this revision to Diff 89054. ddcc added a comment. Rebase, incorporate https://reviews.llvm.org/D22862 https://reviews.llvm.org/D26061 Files: include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h

[clang-tools-extra] r295600 - clangd/ASTManager.cpp: Appease msc19 Debug build -- Don't deref std::vector::end().

2017-02-18 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Sun Feb 19 01:18:16 2017 New Revision: 295600 URL: http://llvm.org/viewvc/llvm-project?rev=295600=rev Log: clangd/ASTManager.cpp: Appease msc19 Debug build -- Don't deref std::vector::end(). Modified: clang-tools-extra/trunk/clangd/ASTManager.cpp Modified:

r295592 - clang/CMakeLists.txt: Rework r294954 -- use file(TO_CMAKE_PATH).

2017-02-18 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Sat Feb 18 21:17:31 2017 New Revision: 295592 URL: http://llvm.org/viewvc/llvm-project?rev=295592=rev Log: clang/CMakeLists.txt: Rework r294954 -- use file(TO_CMAKE_PATH). Modified: cfe/trunk/CMakeLists.txt Modified: cfe/trunk/CMakeLists.txt URL:

[PATCH] D15227: [analyzer] Valist checkers.

2017-02-18 Thread Anna Zaks via Phabricator via cfe-commits
zaks.anna added a comment. > But as far as I remember, this produced false negatives in the tests not > false positives. Could you double check that? Maybe you still have some notes in your mail box or just by looking at the code. Did none of the checks work or just some of them? Also,

r295545 - [analyzer] Fix crash in CastToStruct when there is no record definition

2017-02-18 Thread Daniel Marjamaki via cfe-commits
Author: danielmarjamaki Date: Sat Feb 18 05:18:57 2017 New Revision: 295545 URL: http://llvm.org/viewvc/llvm-project?rev=295545=rev Log: [analyzer] Fix crash in CastToStruct when there is no record definition This crash was reported in https://bugs.llvm.org//show_bug.cgi?id=31173 Differential

[PATCH] D28297: [StaticAnalyzer] Fix crash in CastToStructChecker

2017-02-18 Thread Daniel Marjamäki via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL295545: [analyzer] Fix crash in CastToStruct when there is no record definition (authored by danielmarjamaki). Changed prior to commit: https://reviews.llvm.org/D28297?vs=83062=89019#toc Repository:

[PATCH] D30135: [OpenMP] Generate better diagnostics for cancel and cancellation point

2017-02-18 Thread Jonas Hahnfeld via Phabricator via cfe-commits
Hahnfeld created this revision. Handle errors related to a specific directive before checking the nesting: The specific checks may validate required arguments and give more helpful messages, especially when the nesting depends on those arguments. This change requires some minor adaptions to the

[clang-tools-extra] r295544 - [clang-tidy] google-readability-casting: Handle user-defined conversions

2017-02-18 Thread Alexander Kornienko via cfe-commits
Author: alexfh Date: Sat Feb 18 03:45:00 2017 New Revision: 295544 URL: http://llvm.org/viewvc/llvm-project?rev=295544=rev Log: [clang-tidy] google-readability-casting: Handle user-defined conversions Modified: clang-tools-extra/trunk/clang-tidy/google/AvoidCStyleCastsCheck.cpp

[PATCH] D30111: [clang-format] Add a test to check at once all the Mozilla coding style

2017-02-18 Thread Sylvestre Ledru via Phabricator via cfe-commits
sylvestre.ledru updated this revision to Diff 89022. https://reviews.llvm.org/D30111 Files: test/Format/check-coding-style-mozilla.cpp Index: test/Format/check-coding-style-mozilla.cpp === ---

[PATCH] D30111: [clang-format] Add a test to check at once all the Mozilla coding style

2017-02-18 Thread Sylvestre Ledru via Phabricator via cfe-commits
sylvestre.ledru marked 3 inline comments as done. sylvestre.ledru added inline comments. Comment at: test/Format/check-coding-style-mozilla.cpp:10 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +if (true) { krasimir wrote: > What is tested

r295570 - [X86] Replace XOP vpcmov builtins with native vector logical operations.

2017-02-18 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sat Feb 18 15:15:30 2017 New Revision: 295570 URL: http://llvm.org/viewvc/llvm-project?rev=295570=rev Log: [X86] Replace XOP vpcmov builtins with native vector logical operations. Modified: cfe/trunk/include/clang/Basic/BuiltinsX86.def

r295584 - [X86][XOP] Fix type conversion warning in vpcmov generic implementations.

2017-02-18 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Feb 18 17:47:34 2017 New Revision: 295584 URL: http://llvm.org/viewvc/llvm-project?rev=295584=rev Log: [X86][XOP] Fix type conversion warning in vpcmov generic implementations. Modified: cfe/trunk/lib/Headers/xopintrin.h Modified: cfe/trunk/lib/Headers/xopintrin.h

r295556 - AMDGPU: Add gfx900 and gfx901 processors

2017-02-18 Thread Matt Arsenault via cfe-commits
Author: arsenm Date: Sat Feb 18 13:02:41 2017 New Revision: 295556 URL: http://llvm.org/viewvc/llvm-project?rev=295556=rev Log: AMDGPU: Add gfx900 and gfx901 processors Modified: cfe/trunk/lib/Basic/Targets.cpp cfe/trunk/test/Driver/r600-mcpu.cl Modified: cfe/trunk/lib/Basic/Targets.cpp

[libcxx] r295559 - math: add type promoting template definition on MSVCRT

2017-02-18 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sat Feb 18 13:28:38 2017 New Revision: 295559 URL: http://llvm.org/viewvc/llvm-project?rev=295559=rev Log: math: add type promoting template definition on MSVCRT When building with MSVCRT, we need to manually provide the type promoting overloads to allow the correct type

[libcxx] r295558 - test: explicitly size enumeration

2017-02-18 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sat Feb 18 13:28:36 2017 New Revision: 295558 URL: http://llvm.org/viewvc/llvm-project?rev=295558=rev Log: test: explicitly size enumeration On certain targets, enumerations may be smaller than an `unsigned long`. Use an explicitly sized enumeration. Modified:

[libcxx] r295560 - test: silence warnings on clang under clang-cl

2017-02-18 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sat Feb 18 13:28:41 2017 New Revision: 295560 URL: http://llvm.org/viewvc/llvm-project?rev=295560=rev Log: test: silence warnings on clang under clang-cl When running under clang-cl mode, we do not define `__GNUC__`, resulting in the test failing. Modified:

[libcxx] r295561 - Revert "threading_support: make __thread_sleep_for be alertable"

2017-02-18 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sat Feb 18 13:28:43 2017 New Revision: 295561 URL: http://llvm.org/viewvc/llvm-project?rev=295561=rev Log: Revert "threading_support: make __thread_sleep_for be alertable" This reverts SVN r295329. Although `__libcpp_thread_sleep_for` should be alertable, the

r295548 - [analyzer] Revert 295545. There are buildbot failures.

2017-02-18 Thread Daniel Marjamaki via cfe-commits
Author: danielmarjamaki Date: Sat Feb 18 10:31:35 2017 New Revision: 295548 URL: http://llvm.org/viewvc/llvm-project?rev=295548=rev Log: [analyzer] Revert 295545. There are buildbot failures. Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp