[all-commits] [llvm/llvm-project] 085606: [clang][StaticAnalyzer] Avoid 'raw_string_ostream:...
Youngsuk Kim via All-commits
all-commits at lists.llvm.org
Tue Jul 2 17:53:47 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0856064ea219d029e7d2c4f68bb88196fe647f6b
https://github.com/llvm/llvm-project/commit/0856064ea219d029e7d2c4f68bb88196fe647f6b
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
M clang/lib/StaticAnalyzer/Core/SVals.cpp
Log Message:
-----------
[clang][StaticAnalyzer] 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 comment to remove `raw_string_ostream::str()`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list