We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7eafbf commit 61053ceCopy full SHA for 61053ce
clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
@@ -504,8 +504,8 @@ class TrivialFunctionAnalysisVisitor
504
}
505
506
bool VisitOffsetOfExpr(const OffsetOfExpr* OE) {
507
- // offsetof(T) is considered trivial.
508
- return true;
+ // offsetof(T, D) is considered trivial.
+ return true;
509
510
511
bool VisitCXXMemberCallExpr(const CXXMemberCallExpr *MCE) {
0 commit comments