- annotate const functions with "const"
- replace C-style casts with static_cast
Details
Details
- Reviewers
mtrofin - Commits
- rGcfc4def85df5: [NFC] Code cleanups in InlineCost.cpp.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/Analysis/InlineCost.cpp | ||
|---|---|---|
| 465 | is INT_MAX used elsewhere in this file, or is numeric_limits used instead? basically, I'd stick to whatever is used in the file for consistency. If there's no consistency, I'd fix that in its own patch | |
is INT_MAX used elsewhere in this file, or is numeric_limits used instead? basically, I'd stick to whatever is used in the file for consistency. If there's no consistency, I'd fix that in its own patch