[PATCH] D66045: Improve detection of same value in comparisons

2019-09-20 Thread Richard Trieu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL372453: Merge and improve code that detects same value in comparisons. (authored by rtrieu, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits. Changed prior to commit:

[PATCH] D67509: [CUDA][HIP] Fix hostness of defaulted constructor

2019-09-20 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl added a comment. In D67509#1677586 , @yaxunl wrote: > In D67509#1677528 , @tra wrote: > > > Looks like CUDA test-suite is triggering the assertion added by this patch: > > > > http://lab.llvm.org:8011/builder

r372454 - Fix bad APInt compare.

2019-09-20 Thread Richard Trieu via cfe-commits
Author: rtrieu Date: Fri Sep 20 21:18:54 2019 New Revision: 372454 URL: http://llvm.org/viewvc/llvm-project?rev=372454&view=rev Log: Fix bad APInt compare. APInt comparison require both to have the same bitwidth. Since only the value is needed, use the compare function APInt::isSameValue instead

r372455 - [Clang Interpreter] Fixed Bug 43362, build failure on GCC

2019-09-20 Thread Nandor Licker via cfe-commits
Author: nand Date: Fri Sep 20 22:29:18 2019 New Revision: 372455 URL: http://llvm.org/viewvc/llvm-project?rev=372455&view=rev Log: [Clang Interpreter] Fixed Bug 43362, build failure on GCC free() was not directly included in InterpStack.cpp, added include now. Modified: cfe/trunk/lib/AST/Int

[PATCH] D67719: [clang] [Basic] Enable __has_feature(leak_sanitizer)

2019-09-20 Thread Michał Górny via Phabricator via cfe-commits
mgorny updated this revision to Diff 221155. mgorny added a comment. Test added. Thanks for the suggestion! CHANGES SINCE LAST ACTION https://reviews.llvm.org/D67719/new/ https://reviews.llvm.org/D67719 Files: clang/include/clang/Basic/Features.def clang/test/Lexer/has_feature_leak_sanit

<    1   2