aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorJoseph Huber <35342157+jhuber6@users.noreply.github.com>2023-10-20 16:02:51 -0400
committerGitHub <noreply@github.com>2023-10-20 16:02:51 -0400
commit34a3fb9f62f9334dd654eeee44c395439dae2fba (patch)
treedc610ec16c7091964ed86eedd0526b5448d02595 /clang/lib/Lex/ModuleMap.cpp
parent1d4601a1ef84e4ffe2db84d17b53953b25699eef (diff)
downloadllvm-34a3fb9f62f9334dd654eeee44c395439dae2fba.zip
llvm-34a3fb9f62f9334dd654eeee44c395439dae2fba.tar.gz
llvm-34a3fb9f62f9334dd654eeee44c395439dae2fba.tar.bz2
[Libomptarget][NFC] Remove use of VLA in the AMDGPU plugin (#69761)
Summary: We should not rely on a VLA in C++ for the handling of this string. The size is a true runtime value so we cannot rely on constexpr handling. We simply use a small vector, whose default size is most likely large enough to handle whatever size gets output within the stack, but is safe in cases where it is not.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions