| Verdict | Location | Message |
| - | include/yaml-cpp/emitter.h:203:9 | variable 'isInScientificNotation' of type 'bool' can be declared 'const' |
| - | include/yaml-cpp/emitter.h:204:9 | variable 'hasDot' of type 'bool' can be declared 'const' |
| - | src/binary.cpp:16:3 | variable 'chunks' of type 'std::size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/binary.cpp:17:3 | variable 'remainder' of type 'std::size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/binary.cpp:84:5 | variable 'd' of type 'unsigned char' can be declared 'const' |
| - | src/contrib/dragonbox.h:3308:29 | variable 'interval_type' of type 'interval_type::closed' can be declared 'const' |
| - | src/contrib/dragonbox.h:3393:21 | variable 'interval_type' of type 'interval_type::symmetric_boundary' can be declared 'const' |
| - | src/convert.cpp:34:3 | variable 'firstcaps' of type 'bool' can be declared 'const' |
| - | src/convert.cpp:35:3 | variable 'rest' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/directives.cpp:8:3 | variable 'it' of type 'const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, std::basic_string<char>>>') can be declared 'const' |
| - | src/emitter.cpp:215:3 | variable 'originalType' of type 'FlowType::value' can be declared 'const' |
| - | src/emitter.cpp:251:3 | variable 'originalType' of type 'FlowType::value' can be declared 'const' |
| - | src/emitter.cpp:730:3 | variable 'stringEscaping' of type 'StringEscaping::value' can be declared 'const' |
| - | src/emitterstate.cpp:186:3 | variable 'lastIndent' of type 'std::size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/emitterutils.cpp:66:3 | variable 'byteVal' of type 'int' can be declared 'const' |
| - | src/emitterutils.cpp:246:5 | variable 'surrogatePair' of type 'std::pair<uint16_t, uint16_t>' (aka 'std::pair<unsigned short, unsigned short>') can be declared 'const' |
| - | src/emitterutils.cpp:541:3 | variable 'encoded' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/emitterutils.cpp:567:3 | variable 'encoded' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/exp.cpp:15:8 | variable 'ch' of type 'char' can be declared 'const' |
| - | src/exp.cpp:45:3 | variable 'value' of type 'unsigned int' can be declared 'const' |
| - | src/exp.cpp:76:3 | variable 'escape' of type 'char' can be declared 'const' |
| - | src/exp.cpp:79:3 | variable 'ch' of type 'char' can be declared 'const' |
| - | src/exp.cpp:133:3 | variable 'msg' of type 'std::stringstream' (aka 'basic_stringstream<char>') can be declared 'const' |
| - | src/fptostring.cpp:56:5 | variable 'c' of type 'char' can be declared 'const' |
| - | src/fptostring.cpp:109:5 | variable 'diff' of type 'int' can be declared 'const' |
| - | src/fptostring.cpp:164:5 | variable 'exp_digits_ct' of type 'int' can be declared 'const' |
| - | src/memory.cpp:21:3 | variable 'pNode' of type 'shared_node' (aka 'std::shared_ptr<node>') can be declared 'const' |
| - | src/node_data.cpp:115:5 | variable 'jt' of type 'std::_List_iterator<std::pair<YAML::detail::node *, YAML::detail::node *>>' can be declared 'const' |
| - | src/node_data.cpp:252:5 | variable 'jt' of type 'std::_List_iterator<std::pair<YAML::detail::node *, YAML::detail::node *>>' can be declared 'const' |
| - | src/node_data.cpp:258:3 | variable 'it' of type '__gnu_cxx::__normal_iterator<std::pair<YAML::detail::node *, YAML::detail::node *> *, std::vector<std::pair<YAML::detail::node *, YAML::detail::node *>>>' can be declared 'const' |
| - | src/nodeevents.cpp:16:3 | variable 'it' of type 'const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const YAML::detail::node_ref *const, unsigned long>>') can be declared 'const' |
| - | src/nodeevents.cpp:35:10 | variable 'element' of type 'value_type' (aka 'node_iterator_value<const YAML::detail::node>') can be declared 'const' |
| - | src/nodeevents.cpp:38:10 | variable 'element' of type 'value_type' (aka 'node_iterator_value<const YAML::detail::node>') can be declared 'const' |
| - | src/nodeevents.cpp:79:12 | variable 'element' of type 'value_type' (aka 'node_iterator_value<const YAML::detail::node>') can be declared 'const' |
| - | src/nodeevents.cpp:85:12 | variable 'element' of type 'value_type' (aka 'node_iterator_value<const YAML::detail::node>') can be declared 'const' |
| - | src/nodeevents.cpp:95:3 | variable 'it' of type 'const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const YAML::detail::node_ref *const, int>>') can be declared 'const' |
| - | src/ostream_wrapper.cpp:34:8 | variable 'ch' of type 'char' can be declared 'const' |
| - | src/parser.cpp:36:3 | variable 'oldPos' of type 'int' can be declared 'const' |
| - | src/parser.cpp:48:3 | variable 'newPos' of type 'int' can be declared 'const' |
| - | src/parser.cpp:60:5 | variable 'token' of type 'Token &' can be declared 'const' |
| - | src/regeximpl.h:45:3 | variable 'source' of type 'StringCharSource' can be declared 'const' |
| - | src/regeximpl.h:50:3 | variable 'source' of type 'StreamCharSource' can be declared 'const' |
| - | src/regeximpl.h:137:5 | variable 'n' of type 'int' can be declared 'const' |
| - | src/regeximpl.h:152:5 | variable 'n' of type 'int' can be declared 'const' |
| - | src/regeximpl.h:176:5 | variable 'n' of type 'int' can be declared 'const' |
| - | src/scanner.cpp:70:7 | variable 'token' of type 'Token &' can be declared 'const' |
| - | src/scanner.cpp:251:5 | variable 'n' of type 'int' can be declared 'const' |
| - | src/scanscalar.cpp:78:7 | variable 'ch' of type 'char' can be declared 'const' |
| - | src/scanscalar.cpp:153:5 | variable 'nextEmptyLine' of type 'bool' can be declared 'const' |
| - | src/scanscalar.cpp:154:5 | variable 'nextMoreIndented' of type 'bool' can be declared 'const' |
| - | src/scantag.cpp:22:5 | variable 'n' of type 'int' can be declared 'const' |
| - | src/scantag.cpp:69:5 | variable 'n' of type 'int' can be declared 'const' |
| - | src/scantoken.cpp:21:3 | variable 'name' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/scantoken.cpp:22:3 | variable 'params' of type 'std::vector<std::string>' (aka 'std::vector<basic_string<char>>') can be declared 'const' |
| - | src/scantoken.cpp:68:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/scantoken.cpp:81:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/scantoken.cpp:94:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/scantoken.cpp:95:3 | variable 'ch' of type 'char' can be declared 'const' |
| - | src/scantoken.cpp:96:3 | variable 'flowType' of type 'FLOW_MARKER' can be declared 'const' |
| - | src/scantoken.cpp:98:3 | variable 'type' of type 'Token::TYPE' can be declared 'const' |
| - | src/scantoken.cpp:120:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/scantoken.cpp:121:3 | variable 'ch' of type 'char' can be declared 'const' |
| - | src/scantoken.cpp:124:3 | variable 'flowType' of type 'FLOW_MARKER' can be declared 'const' |
| - | src/scantoken.cpp:129:3 | variable 'type' of type 'Token::TYPE' can be declared 'const' |
| - | src/scantoken.cpp:147:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/scantoken.cpp:167:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/scantoken.cpp:186:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/scantoken.cpp:194:3 | variable 'isSimpleKey' of type 'bool' can be declared 'const' |
| - | src/scantoken.cpp:218:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/scantoken.cpp:234:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/scantoken.cpp:235:3 | variable 'indicator' of type 'char' can be declared 'const' |
| - | src/scantoken.cpp:271:5 | variable 'tag' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | src/scantoken.cpp:317:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/scantoken.cpp:339:3 | variable 'quote' of type 'char' can be declared 'const' |
| - | src/scantoken.cpp:340:3 | variable 'single' of type 'bool' can be declared 'const' |
| - | src/scantoken.cpp:344:3 | variable 'end' of type 'RegEx' can be declared 'const' |
| - | src/scantoken.cpp:358:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/scantoken.cpp:390:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/scantoken.cpp:391:3 | variable 'indicator' of type 'char' can be declared 'const' |
| - | src/scantoken.cpp:396:3 | variable 'n' of type 'int' can be declared 'const' |
| - | src/scantoken.cpp:398:5 | variable 'ch' of type 'char' can be declared 'const' |
| - | src/singledocparser.cpp:55:3 | variable 'depthguard' of type 'DepthGuard<500>' can be declared 'const' |
| - | src/singledocparser.cpp:64:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/singledocparser.cpp:178:5 | variable 'token' of type 'Token' can be declared 'const' |
| - | src/singledocparser.cpp:225:5 | variable 'token' of type 'Token &' can be declared 'const' |
| - | src/singledocparser.cpp:264:5 | variable 'token' of type 'Token' can be declared 'const' |
| - | src/singledocparser.cpp:303:5 | variable 'token' of type 'Token &' can be declared 'const' |
| - | src/singledocparser.cpp:332:5 | variable 'nextToken' of type 'Token &' can be declared 'const' |
| - | src/singledocparser.cpp:347:3 | variable 'mark' of type 'Mark' can be declared 'const' |
| - | src/singledocparser.cpp:402:3 | variable 'token' of type 'Token &' can be declared 'const' |
| - | src/singledocparser.cpp:406:3 | variable 'tagInfo' of type 'Tag' can be declared 'const' |
| - | src/singledocparser.cpp:412:3 | variable 'token' of type 'Token &' can be declared 'const' |
| - | src/singledocparser.cpp:430:3 | variable 'it' of type 'const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, unsigned long>>') can be declared 'const' |
| - | src/stream.cpp:205:5 | variable 'ch' of type 'std::istream::int_type' (aka 'int') can be declared 'const' |
| - | src/stream.cpp:209:5 | variable 'charType' of type 'UtfIntroCharType' can be declared 'const' |
| - | src/stream.cpp:210:5 | variable 'newState' of type 'UtfIntroState' can be declared 'const' |
| - | src/stream.cpp:264:3 | variable 'ch' of type 'char' can be declared 'const' |
| - | src/stream.cpp:276:7 | variable 'ch2' of type 'char' can be declared 'const' |
| - | src/stream.cpp:359:3 | variable 'nBigEnd' of type 'int' can be declared 'const' |
| - | src/stream.cpp:388:7 | variable 'chLow' of type 'unsigned long' can be declared 'const' |
| - | src/stream.cpp:456:3 | pointee of variable 'pIndexes' of type 'int *' can be declared 'const' |