Fix some comments from to /
Diff Detail
Event Timeline
| include/llvm/IR/Function.h | ||
|---|---|---|
| 114 | I believe you don't need a \brief if it is an one line comment. | |
| 197 | This is a good place to use \brief. Something like | |
| 201 | Same as above | |
| lib/Analysis/InlineCost.cpp | ||
| 128 | http://llvm.org/docs/CodingStandards.html#comment-formatting says "prefer C++ style comments" | |
| lib/Analysis/InlineCost.cpp | ||
|---|---|---|
| 128 | Thanks, I wasn't sure about this one. | |
LGTM with a couple of fixes noted below. Please split out the non-doxygen fixes from this patch and submit those as separate NFC changes (doesn't need to be reviewed further).
| include/llvm/IR/Function.h | ||
|---|---|---|
| 197–198 | s/breif/brief/ | |
| 198 | s/cound/count/ | |
| 201–202 | Needs line between brief and detailed | |
| 202 | s/cound/count/ | |
| include/llvm/ProfileData/ProfileCommon.h | ||
| 57 ↗ | (On Diff #73108) | This is not a doxygen change, remove from this patch. |
| 61 ↗ | (On Diff #73108) | Ditto on these 2 lines |
| 70 ↗ | (On Diff #73108) | Ditto |
| 76 ↗ | (On Diff #73108) | Ditto. |
| lib/ProfileData/ProfileSummaryBuilder.cpp | ||
| 64 ↗ | (On Diff #73108) | The changes to this file should also be submitted separately. |
| include/llvm/ProfileData/ProfileCommon.h | ||
|---|---|---|
| 57 ↗ | (On Diff #73108) | Can I just change the name of the patch instead? Will be faster and easier |
I believe you don't need a \brief if it is an one line comment.