[PATCH] D148268: [clang] Make predefined expressions string literals under -fms-extensions
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 13 13:14:58 PDT 2023
aeubanks created this revision.
Herald added a subscriber: martong.
Herald added a reviewer: shafik.
Herald added a project: All.
aeubanks requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
MSVC makes these string literals [1][2].
[1] https://godbolt.org/z/6vnTzbExx
[2] https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170
Fixes #114
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148268
Files:
clang/include/clang/AST/Expr.h
clang/include/clang/AST/IgnoreExpr.h
clang/include/clang/AST/Stmt.h
clang/lib/AST/ASTImporter.cpp
clang/lib/AST/Expr.cpp
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaInit.cpp
clang/test/Sema/ms_predefined_expr.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148268.513336.patch
Type: text/x-patch
Size: 5682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230413/496cd5eb/attachment-0001.bin>
More information about the cfe-commits
mailing list