Details
Diff Detail
Event Timeline
clang/lib/Parse/ParseStmt.cpp | ||
---|---|---|
1219–1221 | DiagnosticsEngine‘s isIgnored? |
clang/lib/Parse/ParseStmt.cpp | ||
---|---|---|
1219–1221 | 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. | |
1229–1230 | Under what circumstances is this required (can we generate a test case for it)? |
clang/lib/Parse/ParseStmt.cpp | ||
---|---|---|
1219–1221 | 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. | |
1229–1230 | i managed to reproduced it https://godbolt.org/z/XqVNPD |
DiagnosticsEngine‘s isIgnored?