[PATCH] D13567: [PATCH] Add checker discouraging use of setjmp/longjmp in C++
Samuel Benzaquen via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 8 12:47:30 PDT 2015
sbenza added inline comments.
================
Comment at: clang-tidy/cert/SetLongJmpCheck.cpp:31
@@ +30,3 @@
+public:
+ explicit SetJmpMacroCallbacks(Preprocessor *PP, SetLongJmpCheck &Check)
+ : PP(PP), Check(Check) {}
----------------
Why do you pass one as a pointer and one as a reference?
http://reviews.llvm.org/D13567
More information about the cfe-commits
mailing list