This patch updates Scop::addUserContext() function to the new C++ interface and replaces the auto keyword with explicit type wherever used in this function.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Very nice!
lib/Analysis/ScopInfo.cpp | ||
---|---|---|
2116 | Drop the manage(release()) pattern. This is not needed. Just say getParamSpace(). | |
2131 | LLVM coding conventions prefers explicit types. As you already change this line and this is a mechanical change, I suggest to update this as well (please update commit message / summary to mention this). |
Comment Actions
Updates made to this differential:
- Removed manage(release) pattern in this diff
- Replaced auto keyword with explicit type wherever necessary.
Drop the manage(release()) pattern. This is not needed. Just say getParamSpace().