[libclc] r315170 - ldexp: Fix double precision function return type

2017-10-07 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Sat Oct 7 23:56:14 2017 New Revision: 315170 URL: http://llvm.org/viewvc/llvm-project?rev=315170&view=rev Log: ldexp: Fix double precision function return type Fixes ~1200 external calls from nvtpx library. Reviewer: Jeroen Ketema Signed-off-by: Jan Vesely Modified:

[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-10-07 Thread Hal Finkel via Phabricator via cfe-commits
hfinkel added inline comments. Comment at: include/clang/Basic/DiagnosticDriverKinds.td:335 +def warn_drv_fine_grained_bitfield_accesses_ignored : Warning< + "option '-ffine-grained-bitfield-accesses' cannot be enabled together with sanitizer; flag ignored">, + InGroup; --

[PATCH] D24933: Enable configuration files in clang

2017-10-07 Thread Hal Finkel via Phabricator via cfe-commits
hfinkel added a comment. Some suggested improvements to the English in the documentation... Comment at: docs/UsersManual.rst:700 + +Configuration files group command line options and allow to specify all of +them just by referencing the configuration file. They may be used, for

[PATCH] D38101: [Sema] Diagnose tautological comparison with type's min/max values

2017-10-07 Thread Roman Lebedev via Phabricator via cfe-commits
lebedev.ri updated this revision to Diff 118143. lebedev.ri added a comment. Rework `AnalyzeComparison()` and `DiagnoseOutOfRangeComparison()` - avoid that fast-return path in `DiagnoseOutOfRangeComparison()` `AnalyzeComparison()` is now a bit smarter, and it 1. calls `CheckTautologicalCompariso

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

2017-10-07 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added inline comments. Comment at: clang/lib/Parse/ParseDecl.cpp:5973-5974 + +// If there are attributes following the identifier list, parse them and +// prohibit them. +MaybeParseCXX11Attributes(FnAttrs); rsmith wrote: > Do you antici

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

2017-10-07 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman updated this revision to Diff 118141. aaron.ballman marked 5 inline comments as done. aaron.ballman added a comment. Corrected review feedback from Richard. - Changed the cc1 option to -fdouble-square-bracket-attributes - Corrected regression with opaque-enum-declarations https://

[PATCH] D38667: AMDGPU: Parse r600 CPU name early and expose FMAF capability

2017-10-07 Thread Jan Vesely via Phabricator via cfe-commits
jvesely created this revision. Herald added subscribers: t-tye, tpr, dstuttard, nhaehnle, wdng, kzhuravl. Improve amdgcn macro test Repository: rL LLVM https://reviews.llvm.org/D38667 Files: lib/Basic/Targets/AMDGPU.cpp test/Preprocessor/predefined-arch-macros.c Index: test/Preprocesso

[PATCH] D38101: [Sema] Diagnose tautological comparison with type's min/max values

2017-10-07 Thread Roman Lebedev via Phabricator via cfe-commits
lebedev.ri added inline comments. Comment at: lib/Sema/SemaChecking.cpp:8719 + // Type limit values are handled later by CheckTautologicalComparison(). + if (IsTypeLimit(S, Other, Constant, ConstValue) && (!OtherIsBooleanType)) return; lebedev.ri wrote: >

[clang-tools-extra] r315149 - Fix signed/unsigned warning

2017-10-07 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Oct 7 05:24:10 2017 New Revision: 315149 URL: http://llvm.org/viewvc/llvm-project?rev=315149&view=rev Log: Fix signed/unsigned warning Modified: clang-tools-extra/trunk/clangd/ClangdUnit.cpp Modified: clang-tools-extra/trunk/clangd/ClangdUnit.cpp URL: http://llvm.

[libclc] r315147 - Delete empy directory

2017-10-07 Thread Jeroen Ketema via cfe-commits
Author: jketema Date: Sat Oct 7 02:10:44 2017 New Revision: 315147 URL: http://llvm.org/viewvc/llvm-project?rev=315147&view=rev Log: Delete empy directory Removed: libclc/trunk/ptx/lib/integer/ ___ cfe-commits mailing list cfe-commits@lists.llvm.o

Re: r314571 - [Analyzer] Synthesize function body for std::call_once

2017-10-07 Thread Alexander Kornienko via cfe-commits
This revision might be the cause of https://bugs.llvm.org/show_bug.cgi?id=34869. I'm still working on a reduced test case. On Sat, Sep 30, 2017 at 2:03 AM, George Karpenkov via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: george.karpenkov > Date: Fri Sep 29 17:03:22 2017 > New Revis