this trivial patch improves constness. it makes it possible to use these utility functions for constant expressions also.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Overall this looks reasonable to me and consistent with the style for the rest of this file (which uses const when possible also). One minor comment inline.
lib/Sema/SemaChecking.cpp | ||
---|---|---|
6048 | Seems like all these casts would be better of with const auto? |
Seems like all these casts would be better of with const auto?