aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorYoungsuk Kim <youngsuk.kim@hpe.com>2024-07-05 06:39:33 -0500
committerYoungsuk Kim <youngsuk.kim@hpe.com>2024-07-05 06:42:43 -0500
commitccc0b66d6971b64175b4e99c6d5baaa2830c4208 (patch)
tree10e952d0f8befd926cc7d632346c6d4cc6cd1b24 /clang/lib/CodeGen/CodeGenModule.cpp
parentdb7db687a6b72f79ecd165603e805c4292ddfd6d (diff)
downloadllvm-ccc0b66d6971b64175b4e99c6d5baaa2830c4208.zip
llvm-ccc0b66d6971b64175b4e99c6d5baaa2830c4208.tar.gz
llvm-ccc0b66d6971b64175b4e99c6d5baaa2830c4208.tar.bz2
[clang] Avoid 'raw_string_ostream::str' (NFC)
Since `raw_string_ostream` doesn't own the string buffer, it is desirable (in terms of memory safety) for users to directly reference the string buffer rather than use `raw_string_ostream::str()`. Work towards TODO item to remove `raw_string_ostream::str()`. p.s. also remove some unneeded/dead code.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions