CodeGenFunction suppresses debug info for the definition of a method with attribute 'nodebug'.
For consistency, the declaration should also be omitted from the class description.
Details
Diff Detail
Event Timeline
Repeating the summary because I spaced out on adding reviewers *before* saving... again...
CodeGenFunction suppresses debug info for the definition of a method with attribute 'nodebug'.
For consistency, the declaration should also be omitted from the class description.
Looks good - thanks!
| test/CodeGenCXX/debug-info-method-nodebug.cpp | ||
|---|---|---|
| 6 | do you need the int member? | |
| test/CodeGenCXX/debug-info-method-nodebug.cpp | ||
|---|---|---|
| 6 | No. I'll take it out. Hmmm looks like attr-nodebug.c could be more robust... I'll look at that in a bit. | |
do you need the int member?