summaryrefslogtreecommitdiff
path: root/clang/docs
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2023-05-07 11:24:48 -0700
committerArthur Eubanks <aeubanks@google.com>2023-05-10 10:54:58 -0700
commit878e590503dff0d9097e91c2bec4409f14503b82 (patch)
tree10968242c1fb75548b79cdca18cbe06cd948573f /clang/docs
parent2e2e1104641b2108774d38bf6e85f756a7cf9567 (diff)
downloadllvm-878e590503dff0d9097e91c2bec4409f14503b82.tar.gz
Reland [clang] Make predefined expressions string literals under -fms-extensions
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 Initial commit didn't check if there was a function name when stepping through expressions ignoring parens. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D146764
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/ReleaseNotes.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index c0820bd01fd5..8b6232a6b9e6 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -438,6 +438,9 @@ Bug Fixes to C++ Support
- Fix a crash when expanding a pack as the index of a subscript expression.
- Fix handling of constexpr dynamic memory allocations in template
arguments. (`#62462 <https://github.com/llvm/llvm-project/issues/62462>`_)
+- Some predefined expressions are now treated as string literals in MSVC
+ compatibility mode.
+ (`#114 <https://github.com/llvm/llvm-project/issues/114>`_)
Bug Fixes to AST Handling
^^^^^^^^^^^^^^^^^^^^^^^^^