[all-commits] [llvm/llvm-project] 55c8fd: [clang] Prevent dangling StringRefs (#98699)
Youngsuk Kim via All-commits
all-commits at lists.llvm.org
Tue Jul 16 06:45:47 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 55c8fd9e0b3ab1d2bb7ca4a7db7d6cf2aa83e5db
https://github.com/llvm/llvm-project/commit/55c8fd9e0b3ab1d2bb7ca4a7db7d6cf2aa83e5db
Author: Youngsuk Kim <joseph942010 at gmail.com>
Date: 2024-07-16 (Tue, 16 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Serialization/ASTReaderStmt.cpp
Log Message:
-----------
[clang] Prevent dangling StringRefs (#98699)
Fix locations where dangling StringRefs are created.
* `ConstraintSatisfaction::SubstitutionDiagnostic`: typedef of
`std::pair<SourceLocation, StringRef>`
* `concepts::Requirement::SubstitutionDiagnostic`: struct whose 1st and
3rd data members are `StringRef`s
Fixes #98667
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