[all-commits] [llvm/llvm-project] 13ea23: [OpenCL] Allow use of double type without extensio...
Anastasia Stulova via All-commits
all-commits at lists.llvm.org
Tue May 11 04:55:23 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 13ea238b1e1db96ef5fd409e869d9a8ebeef1332
https://github.com/llvm/llvm-project/commit/13ea238b1e1db96ef5fd409e869d9a8ebeef1332
Author: Anastasia Stulova <anastasia.stulova at arm.com>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaType.cpp
M clang/test/Misc/warning-flags.c
M clang/test/SemaOpenCL/extensions.cl
Log Message:
-----------
[OpenCL] Allow use of double type without extension pragma.
Simply use of extensions by allowing the use of supported
double types without the pragma. Since earlier standards
instructed that the pragma is used explicitly a new warning
is introduced in pedantic mode to indicate that use of
type without extension pragma enable can be non-portable.
This patch does not break backward compatibility since the
extension pragma is still supported and it makes the behavior
of the compiler less strict by accepting code without extra
pragma statements.
Differential Revision: https://reviews.llvm.org/D100980
More information about the All-commits
mailing list