earnol
earnol
> So you shouldn't draw conclusions from the lack of such prohibition. @Endilll Exactly. Lack of specific wording means unknown. If something is not prohibited we cannot say it's use...
@AaronBallman Please treat this message as a gentle ping of you being summoned here.
@AaronBallman Thank you for your opinion. Looking from point of type compatibility rules pointers are indeed different, however from the practical standpoint those pointers are the same and compatible my...
Thank you @AaronBallman. What you provided is a fair note and a whole point of my previous message. What I'm taking is a severity of incompatibility. In some situations like...
Thank you for the clarification. The crux of my argument is indeed the identical **machine representation** is required, however when I'm looking into _7.18.1.4 Integer types capable of holding object...
Yes. I debugged this issue a little and the reason is the checker uses `check:PreStmt` which obviously happens before implicit destructors are called. One of the possible solutions could be...
It should be true for clangSA as destructor function is still a function, but let me test it. Also I think it is important to note, that we can have...
Yes it should work theoretically, but there is a detection problem. Let me explain. I made a change: ``` diff --git a/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp index 019e81f91400..7aa13c715626 100644 --- a/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp...
And if i'm to use slightly modified sample: ``` class LocalClass; class VEI { public: VEI():pLocal(nullptr) {} LocalClass *pLocal; }; class LocalClass { public: LocalClass(VEI *v):p(v) {} VEI *p; ~LocalClass()...
Well. I noticed that as well. Because i tried to use this an example for my own lit test which was checkering warnings in the header file and encountered the...