================
@@ -33,8 +33,8 @@ class ExceptionEscapeCheck : public ClangTidyCheck {
   void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
 
 private:
-  std::string RawFunctionsThatShouldNotThrow;
-  std::string RawIgnoredExceptions;
+  StringRef RawFunctionsThatShouldNotThrow;
----------------
carlosgalvezp wrote:

I have a bit of mixed feelings about this since it can lead to lifetime issues. 
But I see the change you mentioned in the commit message and has been applied 
in many other checks so I guess it's fine!

https://github.com/llvm/llvm-project/pull/160961
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to