-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
In SERVER-65278 we are using the latest clang-tidy which is removing a lot of case where we have a const return type in many declarations. The idl generator has some specific code around this that could be simplified now that we intend to not use const type in the return for types which are not const ref.
'const_type': 'const ' if cpp_type_info.is_const_type() else '', // to 'const_type': 'const ' if '&' in param_type else '',
- duplicates
-
SERVER-58110 IDL: getters sometimes have const value return types
- Closed
- is related to
-
SERVER-65278 fix clang-tidy v4 issues and add v4 clang-tidy builder
- Closed