(Needed for D23353.)
Details
Diff Detail
Event Timeline
include/clang/Analysis/CFG.h | ||
---|---|---|
526 | Most of the time the new functions will be used in a range-based for loop. I don't think the type returned by the functions will need to be explicitly specified anywhere. I'd remove the typedefs. |
include/clang/Analysis/CFG.h | ||
---|---|---|
526 | I agree the typedefs will probably never be used outside this class, but typedefs for iterator_ranges seem to be a common pattern in the Clang codebase. (EnumDecl::enumerator_range and CallExpr::arg_range are two random examples.) I assume the intent is to make the definition of the functions that return these ranges less verbose. Are you OK with me submitting this patch as-is (with the typedefs)? |
include/clang/Analysis/CFG.h | ||
---|---|---|
526 | Makes sense. |
Most of the time the new functions will be used in a range-based for loop. I don't think the type returned by the functions will need to be explicitly specified anywhere. I'd remove the typedefs.