[all-commits] [llvm/llvm-project] 3096b8: [flang] Don't fold zero-length substring references
Peter Klausler via All-commits
all-commits at lists.llvm.org
Sat Jul 23 10:08:33 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3096b85696cc71a6b6798c6883712f7ea6a6b576
https://github.com/llvm/llvm-project/commit/3096b85696cc71a6b6798c6883712f7ea6a6b576
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-07-23 (Sat, 23 Jul 2022)
Changed paths:
M flang/lib/Evaluate/fold-implementation.h
Log Message:
-----------
[flang] Don't fold zero-length substring references
In some contexts the code looks cleaner if we fold zero-length substring
references into empty character constants, but those don't work in
variable definition contexts and can lead to bogus semantic error
messages.
Differential Revision: https://reviews.llvm.org/D130383
More information about the All-commits
mailing list