[PATCH] D97052: [OpenCL] Prevent adding extension pragma by default
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 1 11:17:51 PST 2021
Anastasia updated this revision to Diff 327204.
Anastasia added a comment.
- Reorder fields,
- make constructor parameters explicit
- use `insert_or_assign` member of `StringMap`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97052/new/
https://reviews.llvm.org/D97052
Files:
clang/include/clang/Basic/OpenCLExtensions.def
clang/include/clang/Basic/OpenCLOptions.h
clang/lib/Basic/OpenCLOptions.cpp
clang/lib/Basic/Targets.cpp
clang/lib/Parse/ParsePragma.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/test/SemaOpenCL/extension-version.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97052.327204.patch
Type: text/x-patch
Size: 19883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210301/29b06b20/attachment-0001.bin>
More information about the cfe-commits
mailing list