[all-commits] [llvm/llvm-project] 8e57d1: [clang] fix classification of a string literal exp...
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Thu Aug 1 10:34:15 PDT 2024
Branch: refs/heads/users/mizvekov/clang-fix-GH82167
Home: https://github.com/llvm/llvm-project
Commit: 8e57d14d4c9862ad703d22501cc024f547554876
https://github.com/llvm/llvm-project/commit/8e57d14d4c9862ad703d22501cc024f547554876
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprClassification.cpp
A clang/test/SemaCXX/GH82167.cpp
Log Message:
-----------
[clang] fix classification of a string literal expression used as initialzier
Since 3bf72d7d64b8465acd4f4af1a469d68d9dc86058 we have made a
simplification where we transform a string literal into a prvalue,
where normally they would always be lvalues.
This patch fixes expression classification to account for this
case.
Fixes #82167
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list