Details
Diff Detail
Event Timeline
clang/lib/Parse/ParseStmt.cpp | ||
---|---|---|
1221 | DiagnosticsEngine‘s isIgnored? |
clang/lib/Parse/ParseStmt.cpp | ||
---|---|---|
1221–1224 | Rather than querying the diagnostics engine for each call to Check(), I think you can query this property once in the constructor and then do a simple member variable test here instead. | |
1232–1233 | Under what circumstances is this required (can we generate a test case for it)? |
clang/lib/Parse/ParseStmt.cpp | ||
---|---|---|
1221–1224 | Check() is called only once per object so there should be no difference. and DiagnosticsEngine::isIgnored requests the location of the location at which the warning is supposed to appear. this location is not know during the construction of the object. | |
1232–1233 | i managed to reproduced it https://godbolt.org/z/XqVNPD |
DiagnosticsEngine‘s isIgnored?