aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorRoss Brunton <ross@codeplay.com>2025-07-02 14:11:05 +0100
committerGitHub <noreply@github.com>2025-07-02 14:11:05 +0100
commit4f02965ae2462b2ba05426e88ac22845e12295aa (patch)
tree8b4e36e04c2b6ada825a071312f9c631fb750691 /clang/lib/Basic/SourceManager.cpp
parente63de82d904c2364c84489894eeb81fb9c08a023 (diff)
downloadllvm-4f02965ae2462b2ba05426e88ac22845e12295aa.zip
llvm-4f02965ae2462b2ba05426e88ac22845e12295aa.tar.gz
llvm-4f02965ae2462b2ba05426e88ac22845e12295aa.tar.bz2
[Offload] Store kernel name in GenericKernelTy (#142799)
GenericKernelTy has a pointer to the name that was used to create it. However, the name passed in as an argument may not outlive the kernel. Instead, GenericKernelTy now contains a std::string, and copies the name into there.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions