aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorSameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com>2025-01-08 10:04:44 +0530
committerGitHub <noreply@github.com>2025-01-08 10:04:44 +0530
commitb4ae4192989f97503626748421f32745897941ba (patch)
tree549ed4d61eb5a35c513898ef546b9450d37c7f85 /clang/lib/Frontend/InitPreprocessor.cpp
parent9020d193e6ef03e8070ac44078c5d8d9e86c4f2a (diff)
downloadllvm-b4ae4192989f97503626748421f32745897941ba.zip
llvm-b4ae4192989f97503626748421f32745897941ba.tar.gz
llvm-b4ae4192989f97503626748421f32745897941ba.tar.bz2
[clang] [NFC] explicitly check if ParentMap contains key (#121736)
The implementation of ParentMap assumes that the key is absent if it is mapped to nullptr. This breaks when trying to store a tuple as the value type. Remove this assumption by explicit uses of `try_emplace()`.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions