2025-05-09 17:18 ftp://ftp.de.debian.org/debian/pool/main/c/cg3/cg3_1.5.1.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=sqlite3 --library=boost --library=icu --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 611 611 elapsed-time: 81.3 86.2 head-timing-info: old-timing-info: head results: cg3-1.5.1/include/getopt/getopt.cpp:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cg3-1.5.1/include/posix/popen_plus.cpp:84:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_BSHELL [valueFlowBailoutIncompleteVar] cg3-1.5.1/include/posix/popen_plus.cpp:134:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cg3-1.5.1/include/getopt/getopt.cpp:45:3: style: Variable 'errbuf' can be declared as const array [constVariable] cg3-1.5.1/include/getopt/getopt.cpp:56:4: style: Variable 'errbuf' can be declared as const array [constVariable] cg3-1.5.1/include/posix/popen_plus.cpp:36:36: style: C-style pointer casting [cstyleCast] cg3-1.5.1/include/posix/popen_plus.cpp:81:19: style: C-style pointer casting [cstyleCast] cg3-1.5.1/include/posix/popen_plus.cpp:150:41: style: Parameter 'process' can be declared as pointer to const [constParameterPointer] cg3-1.5.1/include/posix/popen_plus.cpp:170:46: style: Parameter 'process' can be declared as pointer to const [constParameterPointer] cg3-1.5.1/src/inlines.hpp:331:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/inlines.hpp:440:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/inlines.hpp:452:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/inlines.hpp:487:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/inlines.hpp:492:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/inlines.hpp:858:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Indices [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/uextras.hpp:186:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_FOLD_CASE_DEFAULT [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/uextras.hpp:206:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/uextras.hpp:212:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/TagTrie.hpp:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable terminal [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/TagTrie.hpp:67:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable terminal [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/BinaryGrammar.cpp:57:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failbit [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:81:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:99:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:142:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:176:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:193:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:214:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:253:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:272:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:312:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/BinaryGrammar_read.cpp:47:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failbit [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/ApertiumApplicator.cpp:279:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_EOF [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/interval_vector.hpp:99:19: warning: Member variable 'const_iterator::elements' is not assigned a value in 'const_iterator::operator='. [operatorEqVarError] cg3-1.5.1/src/flat_unordered_set.hpp:248:17: performance:inconclusive: Technically the member function 'flat_unordered_set < uint32_t , uint32_t ( -1 ) , uint32_t ( -1 ) - 1 >::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/flat_unordered_set.hpp:321:12: performance:inconclusive: Technically the member function 'flat_unordered_set < uint32_t , uint32_t ( -1 ) , uint32_t ( -1 ) - 1 >::hash_value_sz' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/flat_unordered_map.hpp:279:17: performance:inconclusive: Technically the member function 'flat_unordered_map < uint32_t , Tag * , uint32_t ( -1 ) , uint32_t ( -1 ) - 1 >::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/flat_unordered_map.hpp:352:12: performance:inconclusive: Technically the member function 'flat_unordered_map < uint32_t , Tag * , uint32_t ( -1 ) , uint32_t ( -1 ) - 1 >::hash_value_sz' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/flat_unordered_map.hpp:279:17: performance:inconclusive: Technically the member function 'flat_unordered_map < uint32_t , uint32_t , uint32_t ( -1 ) , uint32_t ( -1 ) - 1 >::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/flat_unordered_map.hpp:352:12: performance:inconclusive: Technically the member function 'flat_unordered_map < uint32_t , uint32_t , uint32_t ( -1 ) , uint32_t ( -1 ) - 1 >::hash_value_sz' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/inlines.hpp:777:2: style: Class 'scope_guard' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/uextras.hpp:200:2: style: Struct 'substr_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/Reading.hpp:68:2: style: Class 'Reading' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/Cohort.hpp:83:2: style: Class 'Cohort' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/flat_unordered_set.hpp:59:3: style: Class 'const_iterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/flat_unordered_map.hpp:67:3: style: Class 'const_iterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/interval_vector.hpp:321:37: style: Condition 'b!=o.elements.end()' is always true [knownConditionTrueFalse] cg3-1.5.1/src/inlines.hpp:111:11: style: C-style pointer casting [cstyleCast] cg3-1.5.1/src/inlines.hpp:112:10: style: C-style pointer casting [cstyleCast] cg3-1.5.1/src/inlines.hpp:121:11: style: C-style pointer casting [cstyleCast] cg3-1.5.1/src/inlines.hpp:127:11: style: C-style pointer casting [cstyleCast] cg3-1.5.1/src/inlines.hpp:99:11: style: The scope of the variable 'tmp' can be reduced. [variableScope] cg3-1.5.1/src/inlines.hpp:156:11: style: The scope of the variable 'tmp' can be reduced. [variableScope] cg3-1.5.1/src/BinaryGrammar.cpp:26:39: style:inconclusive: Function 'BinaryGrammar' argument 1 names different: declaration 'result' definition 'res'. [funcArgNamesDifferent] cg3-1.5.1/src/BinaryGrammar.hpp:55:25: note: Function 'BinaryGrammar' argument 1 names different: declaration 'result' definition 'res'. cg3-1.5.1/src/BinaryGrammar.cpp:26:39: note: Function 'BinaryGrammar' argument 1 names different: declaration 'result' definition 'res'. cg3-1.5.1/src/BinaryGrammar.cpp:35:43: style:inconclusive: Function 'setVerbosity' argument 1 names different: declaration 'level' definition 'v'. [funcArgNamesDifferent] cg3-1.5.1/src/BinaryGrammar.hpp:60:29: note: Function 'setVerbosity' argument 1 names different: declaration 'level' definition 'v'. cg3-1.5.1/src/BinaryGrammar.cpp:35:43: note: Function 'setVerbosity' argument 1 names different: declaration 'level' definition 'v'. cg3-1.5.1/src/TagTrie.hpp:55:13: style: Variable 'p' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/TagTrie.hpp:66:13: style: Variable 'p' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/TagTrie.hpp:131:13: style: Variable 'kv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/TagTrie.hpp:140:13: style: Variable 'kv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/TagTrie.hpp:166:13: style: Variable 'kv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/TagTrie.hpp:176:13: style: Variable 'kv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/TagTrie.hpp:209:13: style: Variable 'kv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Set.hpp:94:13: style: Variable 'kv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/flat_unordered_set.hpp:270:14: style: Variable 'elem' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/flat_unordered_set.hpp:279:14: style: Variable 'val' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/flat_unordered_map.hpp:301:14: style: Variable 'elem' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/flat_unordered_map.hpp:310:14: style: Variable 'val' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/flat_unordered_set.hpp:212:5: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] cg3-1.5.1/src/flat_unordered_set.hpp:213:5: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] cg3-1.5.1/src/flat_unordered_map.hpp:218:5: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] cg3-1.5.1/src/flat_unordered_map.hpp:219:5: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] cg3-1.5.1/src/Rule.hpp:89:51: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/flat_unordered_set.hpp:272:9: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/flat_unordered_map.hpp:303:9: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/interval_vector.hpp:179:16: warning: Either the condition 'it!=elements.begin()' is redundant or there is possible dereference of an invalid iterator: it-1. [derefInvalidIteratorRedundantCheck] cg3-1.5.1/src/interval_vector.hpp:180:10: note: Assuming that condition 'it!=elements.begin()' is not redundant cg3-1.5.1/src/interval_vector.hpp:179:16: note: Dereference of an invalid iterator cg3-1.5.1/src/BinaryGrammar_read.cpp:604:11: style: The scope of the variable 'tmpl' can be reduced. [variableScope] cg3-1.5.1/src/BinaryGrammar_read.cpp:136:12: style: Local variable 'fields' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_read.cpp:49:11: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_read.cpp:136:12: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_read.cpp:229:16: style: Local variable 'i' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_read.cpp:133:16: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_read.cpp:229:16: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_read.cpp:240:16: style: Local variable 'i' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_read.cpp:133:16: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_read.cpp:240:16: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_read.cpp:331:12: style: Local variable 'fields' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_read.cpp:49:11: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_read.cpp:331:12: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_read.cpp:373:13: style: Local variable 'num_sets' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_read.cpp:326:11: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_read.cpp:373:13: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_read.cpp:441:12: style: Local variable 'fields' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_read.cpp:49:11: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_read.cpp:441:12: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_read.cpp:495:20: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] cg3-1.5.1/src/BinaryGrammar_read.cpp:496:19: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] cg3-1.5.1/src/BinaryGrammar_read.cpp:604:16: style: Variable 'tmpl' is assigned a value that is never used. [unreadVariable] cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:48:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:95:12: style: Local variable 'fields' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:40:11: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:95:12: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:180:16: style: Local variable 'i' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:92:16: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:180:16: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:191:16: style: Local variable 'i' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:92:16: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:191:16: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:261:12: style: Local variable 'fields' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:40:11: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:261:12: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:303:13: style: Local variable 'num_sets' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:256:11: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:303:13: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:368:12: style: Local variable 'fields' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:40:11: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:368:12: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:418:20: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] cg3-1.5.1/src/BinaryGrammar_read_10043.cpp:419:19: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] cg3-1.5.1/src/BinaryGrammar_write.cpp:136:12: style: Local variable 'fields' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_write.cpp:37:11: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_write.cpp:136:12: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_write.cpp:271:12: style: Local variable 'fields' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_write.cpp:37:11: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_write.cpp:271:12: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_write.cpp:351:12: style: Local variable 'fields' shadows outer variable [shadowVariable] cg3-1.5.1/src/BinaryGrammar_write.cpp:37:11: note: Shadowed declaration cg3-1.5.1/src/BinaryGrammar_write.cpp:351:12: note: Shadow variable cg3-1.5.1/src/BinaryGrammar_write.cpp:342:13: style: Variable 'cntx' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/BinaryGrammar_write.cpp:446:13: style: Variable 'it' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/BinaryGrammar_write.cpp:453:13: style: Variable 'it' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/BinaryGrammar_write.cpp:461:14: style: Variable 'it' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/BinaryGrammar_write.cpp:559:13: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/BinaryGrammar_write.cpp:404:13: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] cg3-1.5.1/src/ApertiumApplicator.cpp:1003:26: style:inconclusive: Technically the member function 'CG3::ApertiumApplicator::mergeMappings' can be const. [functionConst] cg3-1.5.1/src/ApertiumApplicator.hpp:49:7: note: Technically the member function 'CG3::ApertiumApplicator::mergeMappings' can be const. cg3-1.5.1/src/ApertiumApplicator.cpp:1003:26: note: Technically the member function 'CG3::ApertiumApplicator::mergeMappings' can be const. cg3-1.5.1/src/flat_unordered_set.hpp:248:17: performance:inconclusive: Technically the member function 'flat_unordered_set < uint64_t , uint64_t ( -1 ) , uint64_t ( -1 ) - 1 >::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/flat_unordered_set.hpp:321:12: performance:inconclusive: Technically the member function 'flat_unordered_set < uint64_t , uint64_t ( -1 ) , uint64_t ( -1 ) - 1 >::hash_value_sz' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/ApertiumApplicator.cpp:1003:26: warning: The class 'ApertiumApplicator' defines member function with name 'mergeMappings' also defined in its parent class 'GrammarApplicator'. [duplInheritedMember] cg3-1.5.1/src/GrammarApplicator.hpp:348:7: note: Parent function 'GrammarApplicator::mergeMappings' cg3-1.5.1/src/ApertiumApplicator.cpp:1003:26: note: Derived function 'ApertiumApplicator::mergeMappings' cg3-1.5.1/src/SingleWindow.hpp:54:2: style: Class 'SingleWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/CohortIterator.hpp:39:2: style: Class 'CohortIterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/CohortIterator.hpp:60:2: style: Class 'TopologyLeftIter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/CohortIterator.hpp:67:2: style: Class 'TopologyRightIter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/CohortIterator.hpp:74:2: style: Class 'DepParentIter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/CohortIterator.hpp:86:2: style: Class 'DepDescendentIter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/CohortIterator.hpp:99:2: style: Class 'DepAncestorIter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/CohortIterator.hpp:112:2: style: Class 'CohortSetIter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/CohortIterator.hpp:132:2: style: Class 'MultiCohortIterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/CohortIterator.hpp:153:2: style: Class 'ChildrenIterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/Window.hpp:49:2: style: Class 'Window' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/GrammarApplicator.hpp:148:2: style: Class 'GrammarApplicator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/ApertiumApplicator.hpp:32:2: style: Class 'ApertiumApplicator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/scoped_stack.hpp:29:3: style: Struct 'proxy' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/CohortIterator.hpp:62:20: style: The function 'operator++' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/CohortIterator.hpp:46:26: note: Virtual function in base class cg3-1.5.1/src/CohortIterator.hpp:62:20: note: Function in derived class cg3-1.5.1/src/CohortIterator.hpp:69:21: style: The function 'operator++' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/CohortIterator.hpp:46:26: note: Virtual function in base class cg3-1.5.1/src/CohortIterator.hpp:69:21: note: Function in derived class cg3-1.5.1/src/CohortIterator.hpp:76:17: style: The function 'operator++' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/CohortIterator.hpp:46:26: note: Virtual function in base class cg3-1.5.1/src/CohortIterator.hpp:76:17: note: Function in derived class cg3-1.5.1/src/CohortIterator.hpp:78:7: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/CohortIterator.hpp:50:15: note: Virtual function in base class cg3-1.5.1/src/CohortIterator.hpp:78:7: note: Function in derived class cg3-1.5.1/src/CohortIterator.hpp:88:21: style: The function 'operator++' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/CohortIterator.hpp:46:26: note: Virtual function in base class cg3-1.5.1/src/CohortIterator.hpp:88:21: note: Function in derived class cg3-1.5.1/src/CohortIterator.hpp:90:7: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/CohortIterator.hpp:50:15: note: Virtual function in base class cg3-1.5.1/src/CohortIterator.hpp:90:7: note: Function in derived class cg3-1.5.1/src/CohortIterator.hpp:101:19: style: The function 'operator++' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/CohortIterator.hpp:46:26: note: Virtual function in base class cg3-1.5.1/src/CohortIterator.hpp:101:19: note: Function in derived class cg3-1.5.1/src/CohortIterator.hpp:103:7: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/CohortIterator.hpp:50:15: note: Virtual function in base class cg3-1.5.1/src/CohortIterator.hpp:103:7: note: Function in derived class cg3-1.5.1/src/CohortIterator.hpp:116:17: style: The function 'operator++' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/CohortIterator.hpp:46:26: note: Virtual function in base class cg3-1.5.1/src/CohortIterator.hpp:116:17: note: Function in derived class cg3-1.5.1/src/CohortIterator.hpp:155:20: style: The function 'operator++' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/CohortIterator.hpp:139:31: note: Virtual function in base class cg3-1.5.1/src/CohortIterator.hpp:155:20: note: Function in derived class cg3-1.5.1/src/ApertiumApplicator.hpp:34:7: style: The function 'runGrammarOnText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:155:15: note: Virtual function in base class cg3-1.5.1/src/ApertiumApplicator.hpp:34:7: note: Function in derived class cg3-1.5.1/src/ApertiumApplicator.hpp:46:7: style: The function 'printCohort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:198:15: note: Virtual function in base class cg3-1.5.1/src/ApertiumApplicator.hpp:46:7: note: Function in derived class cg3-1.5.1/src/ApertiumApplicator.hpp:47:7: style: The function 'printSingleWindow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:199:15: note: Virtual function in base class cg3-1.5.1/src/ApertiumApplicator.hpp:47:7: note: Function in derived class cg3-1.5.1/src/ApertiumApplicator.cpp:541:67: style:inconclusive: Function 'processReading' argument 2 names different: declaration 'reading_string' definition 'p'. [funcArgNamesDifferent] cg3-1.5.1/src/ApertiumApplicator.hpp:63:48: note: Function 'processReading' argument 2 names different: declaration 'reading_string' definition 'p'. cg3-1.5.1/src/ApertiumApplicator.cpp:541:67: note: Function 'processReading' argument 2 names different: declaration 'reading_string' definition 'p'. cg3-1.5.1/src/ApertiumApplicator.cpp:1038:13: style: Variable 'miter' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/ApertiumApplicator.cpp:49:9: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/Profiler.hpp:91:28: performance: Searching before insertion is not necessary. [stlFindInsert] cg3-1.5.1/src/ApertiumApplicator.cpp:648:21: warning: Either the condition 'taglist.empty()' is redundant or expression 'taglist.pop_back()' causes access out of bounds. [containerOutOfBounds] cg3-1.5.1/src/ApertiumApplicator.cpp:645:26: note: Assuming that condition 'taglist.empty()' is not redundant cg3-1.5.1/src/ApertiumApplicator.cpp:648:21: note: Access out of bounds cg3-1.5.1/src/ApertiumApplicator.cpp:1015:8: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/ApertiumApplicator.cpp:1023:9: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/ApertiumApplicator.cpp:58:15: style: Variable 'a' is assigned a value that is never used. [unreadVariable] cg3-1.5.1/src/ApertiumApplicator.cpp:58:22: style: Variable 'b' is assigned a value that is never used. [unreadVariable] cg3-1.5.1/src/ApertiumApplicator.cpp:123:14: style: Variable 'a' is assigned a value that is never used. [unreadVariable] cg3-1.5.1/src/inlines.hpp:584:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_set.hpp:73:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_del [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_set.hpp:97:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_del [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_set.hpp:128:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_del [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_set.hpp:165:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_del [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_set.hpp:188:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_del [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_set.hpp:201:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_del [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_set.hpp:241:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_del [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_set.hpp:262:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_empty [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_set.hpp:307:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_empty [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/Cohort.cpp:183:12: style: Variable 'rter' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/flat_unordered_set.hpp:248:17: performance:inconclusive: Technically the member function 'CG3::flat_unordered_set::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/flat_unordered_set.hpp:321:12: performance:inconclusive: Technically the member function 'CG3::flat_unordered_set::hash_value_sz' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/flat_unordered_set.hpp:304:23: performance:inconclusive: Function parameter 'n' should be passed by const reference. [passedByValue] cg3-1.5.1/src/flat_unordered_set.hpp:321:36: performance:inconclusive: Function parameter 't' should be passed by const reference. [passedByValue] cg3-1.5.1/src/ContextualTest.cpp:94:8: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/FSTApplicator.cpp:428:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/FSTApplicator.cpp:502:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/Grammar.cpp:259:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/Grammar.cpp:598:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable terminal [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/ApertiumApplicator.hpp:49:7: warning: The class 'ApertiumApplicator' defines member function with name 'mergeMappings' also defined in its parent class 'GrammarApplicator'. [duplInheritedMember] cg3-1.5.1/src/GrammarApplicator.hpp:348:7: note: Parent function 'GrammarApplicator::mergeMappings' cg3-1.5.1/src/ApertiumApplicator.hpp:49:7: note: Derived function 'ApertiumApplicator::mergeMappings' cg3-1.5.1/src/MatxinApplicator.hpp:64:7: warning: The class 'MatxinApplicator' defines member function with name 'mergeMappings' also defined in its parent class 'GrammarApplicator'. [duplInheritedMember] cg3-1.5.1/src/GrammarApplicator.hpp:348:7: note: Parent function 'GrammarApplicator::mergeMappings' cg3-1.5.1/src/MatxinApplicator.hpp:64:7: note: Derived function 'MatxinApplicator::mergeMappings' cg3-1.5.1/src/MatxinApplicator.hpp:29:2: style: Class 'MatxinApplicator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/NicelineApplicator.hpp:34:2: style: Class 'NicelineApplicator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/PlaintextApplicator.hpp:32:2: style: Class 'PlaintextApplicator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/FSTApplicator.hpp:33:2: style: Class 'FSTApplicator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/FormatConverter.hpp:44:2: style: Class 'FormatConverter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/MatxinApplicator.hpp:31:7: style: The function 'runGrammarOnText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:155:15: note: Virtual function in base class cg3-1.5.1/src/MatxinApplicator.hpp:31:7: note: Function in derived class cg3-1.5.1/src/MatxinApplicator.hpp:58:7: style: The function 'printSingleWindow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:199:15: note: Virtual function in base class cg3-1.5.1/src/MatxinApplicator.hpp:58:7: note: Function in derived class cg3-1.5.1/src/NicelineApplicator.hpp:35:7: style: The function 'runGrammarOnText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:155:15: note: Virtual function in base class cg3-1.5.1/src/NicelineApplicator.hpp:35:7: note: Function in derived class cg3-1.5.1/src/NicelineApplicator.hpp:38:7: style: The function 'printCohort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:198:15: note: Virtual function in base class cg3-1.5.1/src/NicelineApplicator.hpp:38:7: note: Function in derived class cg3-1.5.1/src/NicelineApplicator.hpp:39:7: style: The function 'printSingleWindow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:199:15: note: Virtual function in base class cg3-1.5.1/src/NicelineApplicator.hpp:39:7: note: Function in derived class cg3-1.5.1/src/PlaintextApplicator.hpp:33:7: style: The function 'runGrammarOnText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:155:15: note: Virtual function in base class cg3-1.5.1/src/PlaintextApplicator.hpp:33:7: note: Function in derived class cg3-1.5.1/src/PlaintextApplicator.hpp:35:7: style: The function 'printCohort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:198:15: note: Virtual function in base class cg3-1.5.1/src/PlaintextApplicator.hpp:35:7: note: Function in derived class cg3-1.5.1/src/PlaintextApplicator.hpp:36:7: style: The function 'printSingleWindow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:199:15: note: Virtual function in base class cg3-1.5.1/src/PlaintextApplicator.hpp:36:7: note: Function in derived class cg3-1.5.1/src/FSTApplicator.hpp:34:7: style: The function 'runGrammarOnText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:155:15: note: Virtual function in base class cg3-1.5.1/src/FSTApplicator.hpp:34:7: note: Function in derived class cg3-1.5.1/src/FSTApplicator.hpp:37:7: style: The function 'printCohort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:198:15: note: Virtual function in base class cg3-1.5.1/src/FSTApplicator.hpp:37:7: note: Function in derived class cg3-1.5.1/src/FSTApplicator.hpp:38:7: style: The function 'printSingleWindow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:199:15: note: Virtual function in base class cg3-1.5.1/src/FSTApplicator.hpp:38:7: note: Function in derived class cg3-1.5.1/src/FormatConverter.hpp:46:7: style: The function 'runGrammarOnText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/ApertiumApplicator.hpp:34:7: note: Virtual function in base class cg3-1.5.1/src/FormatConverter.hpp:46:7: note: Function in derived class cg3-1.5.1/src/FormatConverter.hpp:52:7: style: The function 'printCohort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/ApertiumApplicator.hpp:46:7: note: Virtual function in base class cg3-1.5.1/src/FormatConverter.hpp:52:7: note: Function in derived class cg3-1.5.1/src/FormatConverter.hpp:53:7: style: The function 'printSingleWindow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/ApertiumApplicator.hpp:47:7: note: Virtual function in base class cg3-1.5.1/src/FormatConverter.hpp:53:7: note: Function in derived class cg3-1.5.1/src/Grammar.cpp:529:15: performance:inconclusive: Technically the member function 'CG3::Grammar::allocateTag' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.hpp:135:7: note: Technically the member function 'CG3::Grammar::allocateTag' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:529:15: note: Technically the member function 'CG3::Grammar::allocateTag' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:605:15: performance:inconclusive: Technically the member function 'CG3::Grammar::destroyTag' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.hpp:142:7: note: Technically the member function 'CG3::Grammar::destroyTag' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:605:15: note: Technically the member function 'CG3::Grammar::destroyTag' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:589:15: performance:inconclusive: Technically the member function 'CG3::Grammar::addTagToSet' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.hpp:143:7: note: Technically the member function 'CG3::Grammar::addTagToSet' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:589:15: note: Technically the member function 'CG3::Grammar::addTagToSet' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:516:16: performance:inconclusive: Technically the member function 'CG3::Grammar::allocateRule' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.hpp:145:8: note: Technically the member function 'CG3::Grammar::allocateRule' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:516:16: note: Technically the member function 'CG3::Grammar::allocateRule' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:525:15: performance:inconclusive: Technically the member function 'CG3::Grammar::destroyRule' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.hpp:147:7: note: Technically the member function 'CG3::Grammar::destroyRule' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:525:15: note: Technically the member function 'CG3::Grammar::destroyRule' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:609:26: performance:inconclusive: Technically the member function 'CG3::Grammar::allocateContextualTest' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.hpp:149:18: note: Technically the member function 'CG3::Grammar::allocateContextualTest' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:609:26: note: Technically the member function 'CG3::Grammar::allocateContextualTest' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:321:39: style:inconclusive: Function 'undefSet' argument 1 names different: declaration 'name' definition '_name'. [funcArgNamesDifferent] cg3-1.5.1/src/Grammar.hpp:119:31: note: Function 'undefSet' argument 1 names different: declaration 'name' definition '_name'. cg3-1.5.1/src/Grammar.cpp:321:39: note: Function 'undefSet' argument 1 names different: declaration 'name' definition '_name'. cg3-1.5.1/src/Grammar.cpp:533:40: style:inconclusive: Function 'allocateTag' argument 1 names different: declaration 'tag' definition 'txt'. [funcArgNamesDifferent] cg3-1.5.1/src/Grammar.hpp:136:32: note: Function 'allocateTag' argument 1 names different: declaration 'tag' definition 'txt'. cg3-1.5.1/src/Grammar.cpp:533:40: note: Function 'allocateTag' argument 1 names different: declaration 'tag' definition 'txt'. cg3-1.5.1/src/Grammar.cpp:553:42: style:inconclusive: Function 'allocateTag' argument 1 names different: declaration 'tag' definition 'txt'. [funcArgNamesDifferent] cg3-1.5.1/src/Grammar.hpp:137:34: note: Function 'allocateTag' argument 1 names different: declaration 'tag' definition 'txt'. cg3-1.5.1/src/Grammar.cpp:553:42: note: Function 'allocateTag' argument 1 names different: declaration 'tag' definition 'txt'. cg3-1.5.1/src/Grammar.cpp:235:8: style: Local variable 'iter' shadows outer variable [shadowVariable] cg3-1.5.1/src/Grammar.cpp:230:7: note: Shadowed declaration cg3-1.5.1/src/Grammar.cpp:235:8: note: Shadow variable cg3-1.5.1/src/Grammar.cpp:35:13: style: Variable 'iter_stag' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:43:13: style: Variable 'cntx' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:276:15: style: Variable 'tv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:280:15: style: Variable 'tv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:286:15: style: Variable 'tv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:298:14: style: Variable 'tv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:302:14: style: Variable 'tv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:427:15: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:762:13: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:821:14: style: Variable 'cntx' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:829:14: style: Variable 'cntx' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:1106:14: style: Variable 'iter_tags' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:1118:13: style: Variable 'kv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:1145:13: style: Variable 'kv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Grammar.cpp:177:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/Grammar.cpp:285:14: style: Variable 'tva' can be declared as const array [constVariable] cg3-1.5.1/src/Grammar.cpp:324:14: style: Variable 'pfxs' can be declared as const array [constVariable] cg3-1.5.1/src/Grammar.cpp:563:9: style: Variable 't' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/Grammar.cpp:921:9: style: Variable 'set' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/Grammar.cpp:925:9: style: Variable 'set' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/Grammar.cpp:1107:9: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/Grammar.cpp:1195:8: style: Variable 'set' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/Grammar.cpp:1199:8: style: Variable 'set' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/Grammar.cpp:1203:8: style: Variable 'set' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/Grammar.cpp:259:13: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] cg3-1.5.1/src/Grammar.cpp:95:34: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/Grammar.cpp:621:6: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/parser_helpers.hpp:173:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/process.hpp:149:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/GrammarApplicator.cpp:531:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/GrammarApplicator.cpp:561:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/FSTApplicator.cpp:150:12: style: The scope of the variable 'weight' can be reduced. [variableScope] cg3-1.5.1/src/FSTApplicator.cpp:220:12: style: Local variable 'tag' shadows outer variable [shadowVariable] cg3-1.5.1/src/FSTApplicator.cpp:111:12: note: Shadowed declaration cg3-1.5.1/src/FSTApplicator.cpp:220:12: note: Shadow variable cg3-1.5.1/src/FSTApplicator.cpp:247:11: style: Local variable 'tag' shadows outer variable [shadowVariable] cg3-1.5.1/src/FSTApplicator.cpp:111:12: note: Shadowed declaration cg3-1.5.1/src/FSTApplicator.cpp:247:11: note: Shadow variable cg3-1.5.1/src/FSTApplicator.cpp:487:9: style: Variable 'wform' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/FSTApplicator.cpp:492:14: style: Variable 'rter' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/FSTApplicator.cpp:150:19: style: Variable 'weight' is assigned a value that is never used. [unreadVariable] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:203:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parent [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:728:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/parser_helpers.hpp:154:45: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] cg3-1.5.1/src/GrammarApplicator.cpp:322:25: style:inconclusive: Technically the member function 'CG3::GrammarApplicator::printTrace' can be const. [functionConst] cg3-1.5.1/src/GrammarApplicator.hpp:196:7: note: Technically the member function 'CG3::GrammarApplicator::printTrace' can be const. cg3-1.5.1/src/GrammarApplicator.cpp:322:25: note: Technically the member function 'CG3::GrammarApplicator::printTrace' can be const. cg3-1.5.1/src/process.hpp:144:14: performance:inconclusive: Technically the member function 'Process::formatLastError' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/GrammarApplicator.cpp:259:45: style:inconclusive: Function 'addTag' argument 1 names different: declaration 'tag' definition 'txt'. [funcArgNamesDifferent] cg3-1.5.1/src/GrammarApplicator.hpp:171:27: note: Function 'addTag' argument 1 names different: declaration 'tag' definition 'txt'. cg3-1.5.1/src/GrammarApplicator.cpp:259:45: note: Function 'addTag' argument 1 names different: declaration 'tag' definition 'txt'. cg3-1.5.1/src/GrammarApplicator.cpp:92:14: style: Variable 't' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator.cpp:279:15: style: Variable 'titer' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator.cpp:298:15: style: Variable 'titer' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator.cpp:235:9: style: Variable 't' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator.cpp:516:12: style: Variable 'rter1' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator.cpp:521:13: style: Variable 'rter3' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator.cpp:525:13: style: Variable 'rter2' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator.cpp:661:12: style: Variable 'rter1' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator.cpp:722:9: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:565:25: performance:inconclusive: Technically the member function 'CG3::GrammarApplicator::delTagFromReading' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/GrammarApplicator.hpp:342:7: note: Technically the member function 'CG3::GrammarApplicator::delTagFromReading' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/GrammarApplicator_reflow.cpp:565:25: note: Technically the member function 'CG3::GrammarApplicator::delTagFromReading' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/GrammarApplicator_reflow.cpp:685:25: style:inconclusive: Technically the member function 'CG3::GrammarApplicator::mergeReadings' can be const. [functionConst] cg3-1.5.1/src/GrammarApplicator.hpp:347:7: note: Technically the member function 'CG3::GrammarApplicator::mergeReadings' can be const. cg3-1.5.1/src/GrammarApplicator_reflow.cpp:685:25: note: Technically the member function 'CG3::GrammarApplicator::mergeReadings' can be const. cg3-1.5.1/src/GrammarApplicator_reflow.cpp:694:12: style: Same expression used in consecutive assignments of 'hp' and 'hplain'. [duplicateAssignExpression] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:694:32: note: Same expression used in consecutive assignments of 'hp' and 'hplain'. cg3-1.5.1/src/GrammarApplicator_reflow.cpp:694:12: note: Same expression used in consecutive assignments of 'hp' and 'hplain'. cg3-1.5.1/src/GrammarApplicator_reflow.cpp:460:72: style:inconclusive: Function 'addTagToReading' argument 2 names different: declaration 'tag' definition 'utag'. [funcArgNamesDifferent] cg3-1.5.1/src/GrammarApplicator.hpp:177:54: note: Function 'addTagToReading' argument 2 names different: declaration 'tag' definition 'utag'. cg3-1.5.1/src/GrammarApplicator_reflow.cpp:460:72: note: Function 'addTagToReading' argument 2 names different: declaration 'tag' definition 'utag'. cg3-1.5.1/src/GrammarApplicator_reflow.cpp:565:70: style:inconclusive: Function 'delTagFromReading' argument 2 names different: declaration 'tag' definition 'utag'. [funcArgNamesDifferent] cg3-1.5.1/src/GrammarApplicator.hpp:342:52: note: Function 'delTagFromReading' argument 2 names different: declaration 'tag' definition 'utag'. cg3-1.5.1/src/GrammarApplicator_reflow.cpp:565:70: note: Function 'delTagFromReading' argument 2 names different: declaration 'tag' definition 'utag'. cg3-1.5.1/src/GrammarApplicator_reflow.cpp:224:12: style: Local variable 'begin' shadows outer function [shadowFunction] cg3-1.5.1/src/inlines.hpp:814:6: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_reflow.cpp:224:12: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_reflow.cpp:230:8: style: Local variable 'end' shadows outer function [shadowFunction] cg3-1.5.1/src/inlines.hpp:819:6: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_reflow.cpp:230:8: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_reflow.cpp:747:13: style: Variable 'miter' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:855:55: style: Parameter 'c' can be declared as reference to const [constParameterReference] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:870:67: style: Parameter 'sw' can be declared as reference to const [constParameterReference] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:581:66: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:628:13: style: Variable 'itr' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:847:8: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:383:4: performance: Passing the result of c_str() to a function that takes std::basic_string_view as argument no. 3 is slow and redundant. [stlcstrParam] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:629:99: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:701:8: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:719:9: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/MathParser.hpp:249:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:624:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/GrammarApplicator_runGrammar.cpp:306:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:693:90: style:inconclusive: Boolean expression '(theset.type&ST_TAG_UNIFY)!=0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:704:101: style:inconclusive: Boolean expression '(theset.type&ST_TAG_UNIFY)!=0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:726:112: style:inconclusive: Boolean expression '(theset.type&ST_TAG_UNIFY)!=0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:734:114: style:inconclusive: Boolean expression '(theset.type&ST_TAG_UNIFY)!=0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:739:109: style:inconclusive: Boolean expression '(theset.type&ST_TAG_UNIFY)!=0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:746:110: style:inconclusive: Boolean expression '(theset.type&ST_TAG_UNIFY)!=0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] cg3-1.5.1/src/MathParser.hpp:54:2: style: Class 'MathParser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:701:17: style: Local variable 'size' shadows outer function [shadowFunction] cg3-1.5.1/src/inlines.hpp:451:25: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:701:17: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:724:16: style: Local variable 'size' shadows outer function [shadowFunction] cg3-1.5.1/src/inlines.hpp:451:25: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:724:16: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:491:49: style: Parameter 'kv' can be declared as reference to const [constParameterReference] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:494:49: style: Parameter 'kv' can be declared as reference to const [constParameterReference] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:562:10: style: Variable 'list' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:580:13: style: Variable 'kv' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:799:51: style: Parameter 'rv' can be declared as reference to const [constParameterReference] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:924:12: style: Variable 'list' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:995:12: style: Variable 'list' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_matchSet.cpp:613:3: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/GrammarApplicator_runGrammar.cpp:71:53: style:inconclusive: Function 'initEmptyCohort' argument 1 names different: declaration 'cohort' definition 'cCohort'. [funcArgNamesDifferent] cg3-1.5.1/src/GrammarApplicator.hpp:359:35: note: Function 'initEmptyCohort' argument 1 names different: declaration 'cohort' definition 'cCohort'. cg3-1.5.1/src/GrammarApplicator_runGrammar.cpp:71:53: note: Function 'initEmptyCohort' argument 1 names different: declaration 'cohort' definition 'cCohort'. cg3-1.5.1/src/GrammarApplicator_runGrammar.cpp:135:11: style: Variable 'lReading' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_runGrammar.cpp:326:11: style: Variable 'base' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_runGrammar.cpp:528:12: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_runGrammar.cpp:537:18: style: Variable 'a' is assigned a value that is never used. [unreadVariable] cg3-1.5.1/src/GrammarApplicator_runGrammar.cpp:537:25: style: Variable 'b' is assigned a value that is never used. [unreadVariable] cg3-1.5.1/src/GrammarApplicator_runGrammar.cpp:602:17: style: Variable 'a' is assigned a value that is never used. [unreadVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:376:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:877:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2933:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/GrammarWriter.cpp:573:21: performance:inconclusive: Technically the member function 'CG3::GrammarWriter::printTag' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/GrammarWriter.hpp:47:7: note: Technically the member function 'CG3::GrammarWriter::printTag' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/GrammarWriter.cpp:573:21: note: Technically the member function 'CG3::GrammarWriter::printTag' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/GrammarWriter.cpp:489:30: style: Comparing expression of type 'const signed char' against value 255. Condition is always false. [compareValueOutOfTypeRangeError] cg3-1.5.1/src/GrammarWriter.cpp:492:30: style: Comparing expression of type 'const signed char' against value 254. Condition is always false. [compareValueOutOfTypeRangeError] cg3-1.5.1/src/GrammarWriter.cpp:573:44: style:inconclusive: Function 'printTag' argument 1 names different: declaration 'out' definition 'to'. [funcArgNamesDifferent] cg3-1.5.1/src/GrammarWriter.hpp:47:30: note: Function 'printTag' argument 1 names different: declaration 'out' definition 'to'. cg3-1.5.1/src/GrammarWriter.cpp:573:44: note: Function 'printTag' argument 1 names different: declaration 'out' definition 'to'. cg3-1.5.1/src/GrammarWriter.cpp:178:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarWriter.cpp:199:12: style: Variable 'rule_iter' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarWriter.cpp:212:13: style: Variable 'rule_iter' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarWriter.cpp:225:12: style: Variable 'rule_iter' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarWriter.cpp:237:12: style: Variable 'rule_iter' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarWriter.cpp:349:12: style: Variable 'it' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarWriter.cpp:376:12: style: Variable 'it' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarWriter.cpp:384:13: style: Variable 'r' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:180:25: style:inconclusive: Technically the member function 'CG3::GrammarApplicator::posOutputHelper' can be const. [functionConst] cg3-1.5.1/src/GrammarApplicator.hpp:317:7: note: Technically the member function 'CG3::GrammarApplicator::posOutputHelper' can be const. cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:180:25: note: Technically the member function 'CG3::GrammarApplicator::posOutputHelper' can be const. cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:291:30: style: Comparing expression of type 'const signed char' against value 255. Condition is always false. [compareValueOutOfTypeRangeError] cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:294:30: style: Comparing expression of type 'const signed char' against value 254. Condition is always false. [compareValueOutOfTypeRangeError] cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:100:16: style: Local variable 'context' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:68:15: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:100:16: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:109:16: style: Local variable 'context' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:68:15: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:109:16: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:369:10: style: Local variable 'gpos' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:361:9: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:369:10: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:295:15: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:303:11: style: Variable 'ctx' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:50:14: style: Variable 'list' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:554:13: style: Variable 'current' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/MatxinApplicator.cpp:35:24: style:inconclusive: Technically the member function 'CG3::MatxinApplicator::getNullFlush' can be const. [functionConst] cg3-1.5.1/src/MatxinApplicator.hpp:33:7: note: Technically the member function 'CG3::MatxinApplicator::getNullFlush' can be const. cg3-1.5.1/src/MatxinApplicator.cpp:35:24: note: Technically the member function 'CG3::MatxinApplicator::getNullFlush' can be const. cg3-1.5.1/src/MatxinApplicator.cpp:837:24: style:inconclusive: Technically the member function 'CG3::MatxinApplicator::mergeMappings' can be const. [functionConst] cg3-1.5.1/src/MatxinApplicator.hpp:64:7: note: Technically the member function 'CG3::MatxinApplicator::mergeMappings' can be const. cg3-1.5.1/src/MatxinApplicator.cpp:837:24: note: Technically the member function 'CG3::MatxinApplicator::mergeMappings' can be const. cg3-1.5.1/src/MatxinApplicator.cpp:837:24: warning: The class 'MatxinApplicator' defines member function with name 'mergeMappings' also defined in its parent class 'GrammarApplicator'. [duplInheritedMember] cg3-1.5.1/src/GrammarApplicator.hpp:348:7: note: Parent function 'GrammarApplicator::mergeMappings' cg3-1.5.1/src/MatxinApplicator.cpp:837:24: note: Derived function 'MatxinApplicator::mergeMappings' cg3-1.5.1/src/MatxinApplicator.cpp:427:10: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] cg3-1.5.1/src/MatxinApplicator.cpp:426:12: note: outer condition: *m!='\0' cg3-1.5.1/src/MatxinApplicator.cpp:427:10: note: opposite inner condition: *m=='\0' cg3-1.5.1/src/MatxinApplicator.cpp:489:10: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] cg3-1.5.1/src/MatxinApplicator.cpp:488:12: note: outer condition: *c!='\0' cg3-1.5.1/src/MatxinApplicator.cpp:489:10: note: opposite inner condition: *c=='\0' cg3-1.5.1/src/MatxinApplicator.cpp:165:7: style: Condition 'incohort' is always true [knownConditionTrueFalse] cg3-1.5.1/src/MatxinApplicator.cpp:152:55: note: Assuming that condition 'incohort==false' is not redundant cg3-1.5.1/src/MatxinApplicator.cpp:165:7: note: Condition 'incohort' is always true cg3-1.5.1/src/MatxinApplicator.cpp:351:9: warning:inconclusive: Possible null pointer dereference: cReading [nullPointer] cg3-1.5.1/src/MatxinApplicator.cpp:265:24: note: Assignment 'cReading=nullptr', assigned value is 0 cg3-1.5.1/src/MatxinApplicator.cpp:298:11: note: Assuming condition is false cg3-1.5.1/src/MatxinApplicator.cpp:351:9: note: Null pointer dereference cg3-1.5.1/src/MatxinApplicator.cpp:597:61: style:inconclusive: Function 'printReading' argument 2 names different: declaration 'n' definition 'node'. [funcArgNamesDifferent] cg3-1.5.1/src/MatxinApplicator.hpp:57:44: note: Function 'printReading' argument 2 names different: declaration 'n' definition 'node'. cg3-1.5.1/src/MatxinApplicator.cpp:597:61: note: Function 'printReading' argument 2 names different: declaration 'n' definition 'node'. cg3-1.5.1/src/MatxinApplicator.cpp:788:116: style:inconclusive: Function 'procNode' argument 4 names different: declaration 'node' definition 'n'. [funcArgNamesDifferent] cg3-1.5.1/src/MatxinApplicator.hpp:60:99: note: Function 'procNode' argument 4 names different: declaration 'node' definition 'n'. cg3-1.5.1/src/MatxinApplicator.cpp:788:116: note: Function 'procNode' argument 4 names different: declaration 'node' definition 'n'. cg3-1.5.1/src/MatxinApplicator.cpp:265:13: style: Local variable 'cReading' shadows outer variable [shadowVariable] cg3-1.5.1/src/MatxinApplicator.cpp:108:11: note: Shadowed declaration cg3-1.5.1/src/MatxinApplicator.cpp:265:13: note: Shadow variable cg3-1.5.1/src/MatxinApplicator.cpp:330:15: style: Local variable 'cReading' shadows outer variable [shadowVariable] cg3-1.5.1/src/MatxinApplicator.cpp:265:13: note: Shadowed declaration cg3-1.5.1/src/MatxinApplicator.cpp:330:15: note: Shadow variable cg3-1.5.1/src/MatxinApplicator.cpp:872:13: style: Variable 'miter' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/MatxinApplicator.cpp:597:46: style: Parameter 'reading' can be declared as pointer to const [constParameterPointer] cg3-1.5.1/src/MatxinApplicator.cpp:585:21: warning: Either the condition 'taglist.empty()' is redundant or expression 'taglist.pop_back()' causes access out of bounds. [containerOutOfBounds] cg3-1.5.1/src/MatxinApplicator.cpp:582:26: note: Assuming that condition 'taglist.empty()' is not redundant cg3-1.5.1/src/MatxinApplicator.cpp:585:21: note: Access out of bounds cg3-1.5.1/src/MatxinApplicator.cpp:849:8: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/MatxinApplicator.cpp:857:9: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/NicelineApplicator.cpp:459:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/MweSplitApplicator.hpp:42:2: style: Class 'MweSplitApplicator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/MweSplitApplicator.hpp:43:7: style: The function 'runGrammarOnText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:155:15: note: Virtual function in base class cg3-1.5.1/src/MweSplitApplicator.hpp:43:7: note: Function in derived class cg3-1.5.1/src/MweSplitApplicator.hpp:45:7: style: The function 'printSingleWindow' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/GrammarApplicator.hpp:199:15: note: Virtual function in base class cg3-1.5.1/src/MweSplitApplicator.hpp:45:7: note: Function in derived class cg3-1.5.1/src/MweSplitApplicator.hpp:43:7: style: The function 'runGrammarOnText' overrides a function in a base class but just delegates back to the base class. [uselessOverride] cg3-1.5.1/src/GrammarApplicator.hpp:155:15: note: Virtual function in base class cg3-1.5.1/src/MweSplitApplicator.hpp:43:7: note: Function in derived class cg3-1.5.1/src/MweSplitApplicator.cpp:183:24: style: Local variable 'cs' shadows outer variable [shadowVariable] cg3-1.5.1/src/MweSplitApplicator.cpp:180:7: note: Shadowed declaration cg3-1.5.1/src/MweSplitApplicator.cpp:183:24: note: Shadow variable cg3-1.5.1/src/MweSplitApplicator.cpp:129:12: style: Variable 'tter' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/MweSplitApplicator.cpp:65:12: style: Variable 'rter1' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/NicelineApplicator.cpp:222:12: style: Local variable 'tag' shadows outer variable [shadowVariable] cg3-1.5.1/src/NicelineApplicator.cpp:184:12: note: Shadowed declaration cg3-1.5.1/src/NicelineApplicator.cpp:222:12: note: Shadow variable cg3-1.5.1/src/NicelineApplicator.cpp:243:11: style: Local variable 'tag' shadows outer variable [shadowVariable] cg3-1.5.1/src/NicelineApplicator.cpp:184:12: note: Shadowed declaration cg3-1.5.1/src/NicelineApplicator.cpp:243:11: note: Shadow variable cg3-1.5.1/src/NicelineApplicator.cpp:453:12: style: Variable 'rter' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/flat_unordered_map.hpp:131:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_del [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:169:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_del [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:207:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_del [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:243:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_del [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:302:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res_del [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/Profiler.cpp:88:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/flat_unordered_map.hpp:279:17: performance:inconclusive: Technically the member function 'CG3::flat_unordered_map::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/flat_unordered_map.hpp:352:12: performance:inconclusive: Technically the member function 'CG3::flat_unordered_map::hash_value_sz' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/flat_unordered_map.hpp:335:23: performance:inconclusive: Function parameter 'n' should be passed by const reference. [passedByValue] cg3-1.5.1/src/flat_unordered_map.hpp:352:36: performance:inconclusive: Function parameter 't' should be passed by const reference. [passedByValue] cg3-1.5.1/src/Profiler.cpp:101:13: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Profiler.cpp:119:13: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Profiler.cpp:155:13: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Profiler.cpp:70:41: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/Reading.cpp:204:19: performance:inconclusive: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Reading.hpp:75:11: note: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Reading.cpp:204:19: note: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Reading.cpp:208:19: performance:inconclusive: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Reading.hpp:76:11: note: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Reading.cpp:208:19: note: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Reading.cpp:40:39: style:inconclusive: Function 'alloc_reading' argument 1 names different: declaration 'r' definition 'o'. [funcArgNamesDifferent] cg3-1.5.1/src/Reading.hpp:83:39: note: Function 'alloc_reading' argument 1 names different: declaration 'r' definition 'o'. cg3-1.5.1/src/Reading.cpp:40:39: note: Function 'alloc_reading' argument 1 names different: declaration 'r' definition 'o'. cg3-1.5.1/src/Reading.cpp:231:35: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] cg3-1.5.1/src/Reading.cpp:231:47: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] cg3-1.5.1/src/Relabeller.hpp:63:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable terminal [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/Relabeller.hpp:76:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable terminal [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/Relabeller.cpp:191:18: style:inconclusive: Technically the member function 'CG3::Relabeller::reindexSet' can be const. [functionConst] cg3-1.5.1/src/Relabeller.hpp:52:7: note: Technically the member function 'CG3::Relabeller::reindexSet' can be const. cg3-1.5.1/src/Relabeller.cpp:191:18: note: Technically the member function 'CG3::Relabeller::reindexSet' can be const. cg3-1.5.1/src/Relabeller.cpp:91:2: style: Struct 'freq_sorter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/Relabeller.cpp:101:65: style:inconclusive: Function 'addTaglistsToSet' argument 2 names different: declaration 'set' definition 's'. [funcArgNamesDifferent] cg3-1.5.1/src/Relabeller.hpp:51:54: note: Function 'addTaglistsToSet' argument 2 names different: declaration 'set' definition 's'. cg3-1.5.1/src/Relabeller.cpp:101:65: note: Function 'addTaglistsToSet' argument 2 names different: declaration 'set' definition 's'. cg3-1.5.1/src/Relabeller.cpp:225:57: style:inconclusive: Function 'copyRelabelSetToGrammar' argument 1 names different: declaration 'set' definition 's_r'. [funcArgNamesDifferent] cg3-1.5.1/src/Relabeller.hpp:49:46: note: Function 'copyRelabelSetToGrammar' argument 1 names different: declaration 'set' definition 's_r'. cg3-1.5.1/src/Relabeller.cpp:225:57: note: Function 'copyRelabelSetToGrammar' argument 1 names different: declaration 'set' definition 's_r'. cg3-1.5.1/src/Relabeller.cpp:161:13: style: Variable 'old_tags' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Relabeller.cpp:272:13: style: Variable 'old_tags' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/Relabeller.cpp:140:13: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/Relabeller.cpp:342:13: style: Variable 'toit' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/Relabeller.cpp:141:31: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/Rule.cpp:34:12: performance:inconclusive: Technically the member function 'CG3::Rule::addContextualTest' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Rule.hpp:125:7: note: Technically the member function 'CG3::Rule::addContextualTest' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Rule.cpp:34:12: note: Technically the member function 'CG3::Rule::addContextualTest' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1801:5: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1800:19: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1801:5: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1811:6: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1811:6: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1811:6: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1811:6: error:inconclusive: Using object that is a temporary. [danglingTemporaryLifetime] cg3-1.5.1/src/sorted_vector.hpp:154:23: note: Return iterator. cg3-1.5.1/src/sorted_vector.hpp:154:23: note: Iterator to container is created here. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1811:6: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1811:6: note: Passed to member function 'find'. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1811:6: note: Temporary created here. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1811:6: note: Using object that is a temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1812:14: error: Using object that is a temporary. [danglingTemporaryLifetime] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1800:19: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1812:23: note: Iterator to container is created here. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1800:35: note: Temporary created here. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1812:14: note: Using object that is a temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1812:16: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1800:19: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1812:16: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1813:19: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1800:19: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1813:19: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1832:17: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1800:19: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1832:17: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1833:48: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1800:19: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1833:48: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1840:6: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1800:19: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1840:6: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1843:54: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1800:19: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1843:54: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1846:6: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1800:19: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1846:6: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1848:9: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1800:19: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1848:9: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1916:5: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1916:5: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1916:5: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1916:5: error:inconclusive: Using object that is a temporary. [danglingTemporaryLifetime] cg3-1.5.1/src/sorted_vector.hpp:154:23: note: Return iterator. cg3-1.5.1/src/sorted_vector.hpp:154:23: note: Iterator to container is created here. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1916:5: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1916:5: note: Passed to member function 'find'. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1916:5: note: Temporary created here. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1916:5: note: Using object that is a temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2143:6: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2143:6: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2143:6: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2159:6: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2159:6: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2159:6: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2159:6: error:inconclusive: Using object that is a temporary. [danglingTemporaryLifetime] cg3-1.5.1/src/sorted_vector.hpp:154:23: note: Return iterator. cg3-1.5.1/src/sorted_vector.hpp:154:23: note: Iterator to container is created here. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2159:6: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2159:6: note: Passed to member function 'find'. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2159:6: note: Temporary created here. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2159:6: note: Using object that is a temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2321:7: error: Using reference to dangling temporary. [danglingTempReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2321:7: note: Assigned to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2321:7: note: Using reference to dangling temporary. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:888:4: style: Struct 'Sorter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:252:23: style: Condition 'sub_reading<0' is always true [knownConditionTrueFalse] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:199:18: note: Assuming that condition 'sub_reading==0' is not redundant cg3-1.5.1/src/GrammarApplicator_runRules.cpp:203:18: note: Assuming condition is false cg3-1.5.1/src/GrammarApplicator_runRules.cpp:252:23: note: Condition 'sub_reading<0' is always true cg3-1.5.1/src/Set.cpp:92:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/Set.cpp:95:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1465:15: style: The scope of the variable 'es' can be reduced. [variableScope] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:714:18: style: Local variable 'reading' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:553:13: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:714:18: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1115:15: style: Local variable 'c' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1072:10: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1115:15: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1124:15: style: Local variable 'c' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1072:10: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1124:15: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1668:17: style: Local variable 'i' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1615:12: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1668:17: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1680:19: style: Local variable 'i' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1668:17: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1680:19: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1732:17: style: Local variable 'i' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1615:12: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1732:17: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1931:14: style: Local variable 'remter' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1922:12: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1931:14: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1990:11: style: Local variable 'theTags' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1911:10: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1990:11: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2756:17: style: Local variable 'c' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2682:14: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2756:17: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2770:18: style: Local variable 'cohort' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2681:13: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2770:18: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2801:17: style: Local variable 'c' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2682:14: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2801:17: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2811:23: style: Local variable 'c' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2682:14: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2811:23: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2824:17: style: Local variable 'c' shadows outer variable [shadowVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2682:14: note: Shadowed declaration cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2824:17: note: Shadow variable cg3-1.5.1/src/GrammarApplicator_runRules.cpp:97:15: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:359:15: style: Variable 't' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:811:14: style: Variable 'ctx' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1039:15: style: Variable 'rit' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1196:15: style: Variable 'cm' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1214:16: style: Variable 'cm' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1306:58: style: Parameter 'taglist' can be declared as reference to const [constParameterReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1418:56: style: Parameter 'kv' can be declared as reference to const [constParameterReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1421:56: style: Parameter 'kv' can be declared as reference to const [constParameterReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1784:16: style: Variable 'cm' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1931:14: style: Variable 'remter' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:1757:41: style: Variable 'swss' can be declared as const array [constVariable] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2044:17: style: Variable 'r' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2066:10: style: Variable 'bf' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2280:16: style: Variable 'it' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2577:17: style: Variable 'it' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2674:22: style: Variable 'c' can be declared as pointer to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2696:16: style: Variable 'it' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2811:23: style: Variable 'c' can be declared as pointer to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:3077:14: style: Variable 'c' can be declared as pointer to const [constVariableReference] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:3093:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:2737:31: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:184:56: error: Using iterator to local container 'theTags' that may be invalid. [invalidContainer] cg3-1.5.1/src/GrammarApplicator_runRules.cpp:151:71: note: Passed to reference. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:184:30: note: Iterator to container is created here. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:187:30: note: Assuming condition is true. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:188:12: note: Assuming condition is true. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:188:12: note: Assuming condition is true. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:187:30: note: Assuming condition is true. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:184:53: note: Assuming condition is true. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:189:18: note: After calling 'erase', iterators or references to the container's data may be invalid . cg3-1.5.1/src/GrammarApplicator_runRules.cpp:151:64: note: Variable created here. cg3-1.5.1/src/GrammarApplicator_runRules.cpp:184:56: note: Using iterator to local container 'theTags' that may be invalid. cg3-1.5.1/src/Tag.cpp:166:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/Tag.cpp:30:6: warning:inconclusive: Member variable 'Tag::tag_raw' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] cg3-1.5.1/src/Tag.cpp:217:20: style: Assignment 'comparison_op=OP_NOTEQUALS' is redundant with condition 'comparison_op==OP_NOTEQUALS'. [duplicateConditionalAssign] cg3-1.5.1/src/Tag.cpp:216:28: note: Condition 'comparison_op==OP_NOTEQUALS' cg3-1.5.1/src/Tag.cpp:217:20: note: Assignment 'comparison_op=OP_NOTEQUALS' is redundant cg3-1.5.1/src/Window.cpp:138:14: style:inconclusive: Technically the member function 'CG3::Window::rebuildCohortLinks' can be const. [functionConst] cg3-1.5.1/src/Window.hpp:58:7: note: Technically the member function 'CG3::Window::rebuildCohortLinks' can be const. cg3-1.5.1/src/Window.cpp:138:14: note: Technically the member function 'CG3::Window::rebuildCohortLinks' can be const. cg3-1.5.1/src/Tag.cpp:131:9: style: Variable 'reltag' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/Tag.cpp:105:9: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/TextualParser.cpp:1864:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/uextras.cpp:112:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_EOF [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/uextras.cpp:147:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/TextualParser.cpp:48:21: performance:inconclusive: Technically the member function 'CG3::TextualParser::print_ast' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/TextualParser.hpp:41:7: note: Technically the member function 'CG3::TextualParser::print_ast' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/TextualParser.cpp:48:21: note: Technically the member function 'CG3::TextualParser::print_ast' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/AST.hpp:101:2: style: Struct 'ASTNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/AST.hpp:170:2: style: Struct 'ASTHelper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/TextualParser.cpp:72:2: style: Struct 'freq_sorter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/TextualParser.hpp:39:7: style: The function 'setCompatible' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/IGrammarParser.hpp:45:15: note: Virtual function in base class cg3-1.5.1/src/TextualParser.hpp:39:7: note: Function in derived class cg3-1.5.1/src/TextualParser.hpp:40:7: style: The function 'setVerbosity' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/IGrammarParser.hpp:46:15: note: Virtual function in base class cg3-1.5.1/src/TextualParser.hpp:40:7: note: Function in derived class cg3-1.5.1/src/TextualParser.hpp:43:6: style: The function 'parse_grammar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/IGrammarParser.hpp:47:14: note: Virtual function in base class cg3-1.5.1/src/TextualParser.hpp:43:6: note: Function in derived class cg3-1.5.1/src/TextualParser.hpp:44:6: style: The function 'parse_grammar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/IGrammarParser.hpp:48:14: note: Virtual function in base class cg3-1.5.1/src/TextualParser.hpp:44:6: note: Function in derived class cg3-1.5.1/src/TextualParser.hpp:45:6: style: The function 'parse_grammar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/IGrammarParser.hpp:49:14: note: Virtual function in base class cg3-1.5.1/src/TextualParser.hpp:45:6: note: Function in derived class cg3-1.5.1/src/TextualParser.hpp:46:6: style: The function 'parse_grammar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/IGrammarParser.hpp:50:14: note: Virtual function in base class cg3-1.5.1/src/TextualParser.hpp:46:6: note: Function in derived class cg3-1.5.1/src/TextualParser.hpp:85:6: style: The function 'parse_grammar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cg3-1.5.1/src/IGrammarParser.hpp:57:14: note: Virtual function in base class cg3-1.5.1/src/TextualParser.hpp:85:6: note: Function in derived class cg3-1.5.1/src/TextualParser.cpp:1104:43: style: The scope of the variable 'bits' can be reduced. [variableScope] cg3-1.5.1/src/TextualParser.cpp:42:39: style:inconclusive: Function 'TextualParser' argument 1 names different: declaration 'result' definition 'res'. [funcArgNamesDifferent] cg3-1.5.1/src/TextualParser.hpp:37:25: note: Function 'TextualParser' argument 1 names different: declaration 'result' definition 'res'. cg3-1.5.1/src/TextualParser.cpp:42:39: note: Function 'TextualParser' argument 1 names different: declaration 'result' definition 'res'. cg3-1.5.1/src/TextualParser.cpp:42:71: style:inconclusive: Function 'TextualParser' argument 3 names different: declaration 'dump_ast' definition '_dump_ast'. [funcArgNamesDifferent] cg3-1.5.1/src/TextualParser.hpp:37:60: note: Function 'TextualParser' argument 3 names different: declaration 'dump_ast' definition '_dump_ast'. cg3-1.5.1/src/TextualParser.cpp:42:71: note: Function 'TextualParser' argument 3 names different: declaration 'dump_ast' definition '_dump_ast'. cg3-1.5.1/src/TextualParser.cpp:2847:46: style:inconclusive: Function 'parse_grammar' argument 1 names different: declaration 'filename' definition 'fname'. [funcArgNamesDifferent] cg3-1.5.1/src/TextualParser.hpp:46:32: note: Function 'parse_grammar' argument 1 names different: declaration 'filename' definition 'fname'. cg3-1.5.1/src/TextualParser.cpp:2847:46: note: Function 'parse_grammar' argument 1 names different: declaration 'filename' definition 'fname'. cg3-1.5.1/src/TextualParser.cpp:2931:43: style:inconclusive: Function 'parse_grammar' argument 1 names different: declaration 'buffer' definition 'data'. [funcArgNamesDifferent] cg3-1.5.1/src/TextualParser.hpp:85:29: note: Function 'parse_grammar' argument 1 names different: declaration 'buffer' definition 'data'. cg3-1.5.1/src/TextualParser.cpp:2931:43: note: Function 'parse_grammar' argument 1 names different: declaration 'buffer' definition 'data'. cg3-1.5.1/src/TextualParser.cpp:3163:40: style:inconclusive: Function 'setCompatible' argument 1 names different: declaration 'compat' definition 'f'. [funcArgNamesDifferent] cg3-1.5.1/src/TextualParser.hpp:39:26: note: Function 'setCompatible' argument 1 names different: declaration 'compat' definition 'f'. cg3-1.5.1/src/TextualParser.cpp:3163:40: note: Function 'setCompatible' argument 1 names different: declaration 'compat' definition 'f'. cg3-1.5.1/src/TextualParser.cpp:309:12: style: Local variable 'n' shadows outer variable [shadowVariable] cg3-1.5.1/src/TextualParser.cpp:298:11: note: Shadowed declaration cg3-1.5.1/src/TextualParser.cpp:309:12: note: Shadow variable cg3-1.5.1/src/TextualParser.cpp:640:9: style: Local variable 'n' shadows outer variable [shadowVariable] cg3-1.5.1/src/TextualParser.cpp:499:7: note: Shadowed declaration cg3-1.5.1/src/TextualParser.cpp:640:9: note: Shadow variable cg3-1.5.1/src/TextualParser.cpp:697:8: style: Local variable 'negative' shadows outer variable [shadowVariable] cg3-1.5.1/src/TextualParser.cpp:496:7: note: Shadowed declaration cg3-1.5.1/src/TextualParser.cpp:697:8: note: Shadow variable cg3-1.5.1/src/TextualParser.cpp:699:10: style: Local variable 'tries' shadows outer variable [shadowVariable] cg3-1.5.1/src/TextualParser.cpp:502:9: note: Shadowed declaration cg3-1.5.1/src/TextualParser.cpp:699:10: note: Shadow variable cg3-1.5.1/src/TextualParser.cpp:898:9: style: Local variable 's' shadows outer variable [shadowVariable] cg3-1.5.1/src/TextualParser.cpp:890:8: note: Shadowed declaration cg3-1.5.1/src/TextualParser.cpp:898:9: note: Shadow variable cg3-1.5.1/src/TextualParser.cpp:933:9: style: Local variable 'c' shadows outer variable [shadowVariable] cg3-1.5.1/src/TextualParser.cpp:847:7: note: Shadowed declaration cg3-1.5.1/src/TextualParser.cpp:933:9: note: Shadow variable cg3-1.5.1/src/TextualParser.cpp:1512:10: style: Local variable 's' shadows outer variable [shadowVariable] cg3-1.5.1/src/TextualParser.cpp:1430:7: note: Shadowed declaration cg3-1.5.1/src/TextualParser.cpp:1512:10: note: Shadow variable cg3-1.5.1/src/TextualParser.cpp:2653:9: style: Local variable 'error' shadows outer function [shadowFunction] cg3-1.5.1/src/TextualParser.hpp:48:20: note: Shadowed declaration cg3-1.5.1/src/TextualParser.cpp:2653:9: note: Shadow variable cg3-1.5.1/src/TextualParser.cpp:2634:16: style: Local variable 'p' shadows outer variable [shadowVariable] cg3-1.5.1/src/TextualParser.cpp:1856:9: note: Shadowed declaration cg3-1.5.1/src/TextualParser.cpp:2634:16: note: Shadow variable cg3-1.5.1/src/TextualParser.cpp:2857:6: style: Local variable 'error' shadows outer function [shadowFunction] cg3-1.5.1/src/TextualParser.hpp:48:20: note: Shadowed declaration cg3-1.5.1/src/TextualParser.cpp:2857:6: note: Shadow variable cg3-1.5.1/src/TextualParser.cpp:3133:15: style: Local variable 'cntx' shadows outer variable [shadowVariable] cg3-1.5.1/src/TextualParser.cpp:3100:12: note: Shadowed declaration cg3-1.5.1/src/TextualParser.cpp:3133:15: note: Shadow variable cg3-1.5.1/src/AST.hpp:155:13: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/TextualParser.cpp:396:17: style: Variable 'tags' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/TextualParser.cpp:1944:16: style: Variable 'tag' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/TextualParser.cpp:3133:15: style: Variable 'cntx' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/TextualParser.cpp:298:11: style: Variable 'n' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:362:11: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:645:9: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:890:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:898:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:944:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:953:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:962:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:1225:8: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:1262:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:1282:17: style: Variable 'tag' can be declared as pointer to const [constVariableReference] cg3-1.5.1/src/TextualParser.cpp:1395:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:1411:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:1430:7: style: Variable 's' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:1512:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:1562:14: style: Variable 'it' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:1568:14: style: Variable 'it' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:2047:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:2195:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:2239:11: style: Variable 'aset' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:2511:13: style: Variable 'pairs' can be declared as const array [constVariable] cg3-1.5.1/src/TextualParser.cpp:2573:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:2745:11: style: Variable 'left' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:2746:11: style: Variable 'right' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:2936:8: style: Variable 'tany' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/TextualParser.cpp:262:31: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/TextualParser.cpp:335:35: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/TextualParser.cpp:414:35: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/TextualParser.cpp:1281:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/TextualParser.cpp:1282:6: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/TextualParser.cpp:1292:20: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/TextualParser.cpp:1563:60: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/TextualParser.cpp:1569:60: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/TextualParser.cpp:3146:13: style: Consider using std::replace_if algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/uextras.cpp:288:25: style:inconclusive: Function 'u_fputc' argument 1 names different: declaration 'c' definition 'c32'. [funcArgNamesDifferent] cg3-1.5.1/src/uextras.hpp:100:25: note: Function 'u_fputc' argument 1 names different: declaration 'c' definition 'c32'. cg3-1.5.1/src/uextras.cpp:288:25: note: Function 'u_fputc' argument 1 names different: declaration 'c' definition 'c32'. cg3-1.5.1/src/uextras.cpp:39:8: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/uextras.cpp:138:23: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/uextras.cpp:186:25: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] cg3-1.5.1/src/uextras.cpp:229:68: error: va_list 'args2' was opened but not closed by va_end(). [va_end_missing] cg3-1.5.1/src/main.cpp:40:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/main.cpp:426:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doesOccur [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/ApertiumApplicator.cpp:1003:26: warning: The class 'ApertiumApplicator' defines member function with name 'mergeMappings' also defined in its parent class 'GrammarApplicator'. [duplInheritedMember] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:766:25: note: Parent function 'GrammarApplicator::mergeMappings' cg3-1.5.1/src/ApertiumApplicator.cpp:1003:26: note: Derived function 'ApertiumApplicator::mergeMappings' cg3-1.5.1/src/MatxinApplicator.cpp:837:24: warning: The class 'MatxinApplicator' defines member function with name 'mergeMappings' also defined in its parent class 'GrammarApplicator'. [duplInheritedMember] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:766:25: note: Parent function 'GrammarApplicator::mergeMappings' cg3-1.5.1/src/MatxinApplicator.cpp:837:24: note: Derived function 'MatxinApplicator::mergeMappings' cg3-1.5.1/src/all_vislcg3.cpp:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] cg3-1.5.1/src/Reading.cpp:231:35: style: Parameter 'a' can be declared as pointer to const. However it seems that 'cmp_number' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cg3-1.5.1/src/MatxinApplicator.cpp:879:49: note: You might need to cast the function pointer here cg3-1.5.1/src/Reading.cpp:231:35: note: Parameter 'a' can be declared as pointer to const cg3-1.5.1/src/Reading.cpp:231:47: style: Parameter 'b' can be declared as pointer to const. However it seems that 'cmp_number' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cg3-1.5.1/src/MatxinApplicator.cpp:879:49: note: You might need to cast the function pointer here cg3-1.5.1/src/Reading.cpp:231:47: note: Parameter 'b' can be declared as pointer to const cg3-1.5.1/src/cg-annotate.cpp:62:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/cg-annotate.cpp:74:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/cg-annotate.cpp:120:9: style: Local variable 'ast' shadows outer variable [shadowVariable] cg3-1.5.1/src/cg-annotate.cpp:106:14: note: Shadowed declaration cg3-1.5.1/src/cg-annotate.cpp:120:9: note: Shadow variable cg3-1.5.1/src/cg-annotate.cpp:178:17: style: Local variable 'k' shadows outer variable [shadowVariable] cg3-1.5.1/src/cg-annotate.cpp:147:19: note: Shadowed declaration cg3-1.5.1/src/cg-annotate.cpp:178:17: note: Shadow variable cg3-1.5.1/src/cg-annotate.cpp:100:13: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/cg-annotate.cpp:154:12: style: Variable 'entry' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/cg-annotate.cpp:238:15: style: Variable 'c' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/cg-annotate.cpp:248:15: style: Variable 'tag' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/cg-annotate.cpp:316:13: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/cg-comp.cpp:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/cg-comp.cpp:57:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/cg-conv.cpp:37:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/Reading.cpp:231:35: style: Parameter 'a' can be declared as pointer to const. However it seems that 'cmp_number' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:762:49: note: You might need to cast the function pointer here cg3-1.5.1/src/Reading.cpp:231:35: note: Parameter 'a' can be declared as pointer to const cg3-1.5.1/src/Reading.cpp:231:47: style: Parameter 'b' can be declared as pointer to const. However it seems that 'cmp_number' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:762:49: note: You might need to cast the function pointer here cg3-1.5.1/src/Reading.cpp:231:47: note: Parameter 'b' can be declared as pointer to const cg3-1.5.1/src/main.cpp:511:14: style: Variable 'rule' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/streambuf.hpp:34:2: style: Class 'cstreambuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cg3-1.5.1/src/cg-merge-annotations.cpp:31:13: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/cg-merge-annotations.cpp:40:14: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/cg-merge-annotations.cpp:48:14: style: Variable 'it' can be declared as reference to const [constVariableReference] cg3-1.5.1/src/cg-relabel.cpp:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/cg-relabel.cpp:50:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/cg-relabel.cpp:97:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/cg-mwesplit.cpp:50:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/cg-proc.cpp:38:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/cg-proc.cpp:134:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/icu_uoptions.cpp:43:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable longName [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/icu_uoptions.cpp:25:7: style: The scope of the variable 'c' can be reduced. [variableScope] cg3-1.5.1/src/test_libcg3.c:25:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/libcg3.cpp:90:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/libcg3.cpp:220:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/libcg3.cpp:507:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gbuffers [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/libcg3.cpp:528:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gbuffers [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/libcg3.cpp:540:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gbuffers [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/libcg3.cpp:558:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cbuffers [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/libcg3.cpp:576:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cbuffers [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/libcg3.cpp:591:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cbuffers [valueFlowBailoutIncompleteVar] cg3-1.5.1/src/libcg3.cpp:151:36: style:inconclusive: Function 'cg3_grammar_free' argument 1 names different: declaration 'grammar' definition 'grammar_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:79:36: note: Function 'cg3_grammar_free' argument 1 names different: declaration 'grammar' definition 'grammar_'. cg3-1.5.1/src/libcg3.cpp:151:36: note: Function 'cg3_grammar_free' argument 1 names different: declaration 'grammar' definition 'grammar_'. cg3-1.5.1/src/libcg3.cpp:156:52: style:inconclusive: Function 'cg3_applicator_create' argument 1 names different: declaration 'grammar' definition 'grammar_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:81:52: note: Function 'cg3_applicator_create' argument 1 names different: declaration 'grammar' definition 'grammar_'. cg3-1.5.1/src/libcg3.cpp:156:52: note: Function 'cg3_applicator_create' argument 1 names different: declaration 'grammar' definition 'grammar_'. cg3-1.5.1/src/libcg3.cpp:169:46: style:inconclusive: Function 'cg3_applicator_setflags' argument 1 names different: declaration 'applicator' definition 'applicator_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:83:46: note: Function 'cg3_applicator_setflags' argument 1 names different: declaration 'applicator' definition 'applicator_'. cg3-1.5.1/src/libcg3.cpp:169:46: note: Function 'cg3_applicator_setflags' argument 1 names different: declaration 'applicator' definition 'applicator_'. cg3-1.5.1/src/libcg3.cpp:186:47: style:inconclusive: Function 'cg3_applicator_setoption' argument 1 names different: declaration 'applicator' definition 'applicator_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:91:47: note: Function 'cg3_applicator_setoption' argument 1 names different: declaration 'applicator' definition 'applicator_'. cg3-1.5.1/src/libcg3.cpp:186:47: note: Function 'cg3_applicator_setoption' argument 1 names different: declaration 'applicator' definition 'applicator_'. cg3-1.5.1/src/libcg3.cpp:186:85: style:inconclusive: Function 'cg3_applicator_setoption' argument 3 names different: declaration 'value' definition 'value_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:91:84: note: Function 'cg3_applicator_setoption' argument 3 names different: declaration 'value' definition 'value_'. cg3-1.5.1/src/libcg3.cpp:186:85: note: Function 'cg3_applicator_setoption' argument 3 names different: declaration 'value' definition 'value_'. cg3-1.5.1/src/libcg3.cpp:206:42: style:inconclusive: Function 'cg3_applicator_free' argument 1 names different: declaration 'applicator' definition 'applicator_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:92:42: note: Function 'cg3_applicator_free' argument 1 names different: declaration 'applicator' definition 'applicator_'. cg3-1.5.1/src/libcg3.cpp:206:42: note: Function 'cg3_applicator_free' argument 1 names different: declaration 'applicator' definition 'applicator_'. cg3-1.5.1/src/libcg3.cpp:225:48: style:inconclusive: Function 'cg3_sentence_new' argument 1 names different: declaration 'applicator' definition 'applicator_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:101:48: note: Function 'cg3_sentence_new' argument 1 names different: declaration 'applicator' definition 'applicator_'. cg3-1.5.1/src/libcg3.cpp:225:48: note: Function 'cg3_sentence_new' argument 1 names different: declaration 'applicator' definition 'applicator_'. cg3-1.5.1/src/libcg3.cpp:282:47: style:inconclusive: Function 'cg3_sentence_copy' argument 1 names different: declaration 'from' definition 'sentence_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:102:47: note: Function 'cg3_sentence_copy' argument 1 names different: declaration 'from' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:282:47: note: Function 'cg3_sentence_copy' argument 1 names different: declaration 'from' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:282:74: style:inconclusive: Function 'cg3_sentence_copy' argument 2 names different: declaration 'to' definition 'applicator_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:102:69: note: Function 'cg3_sentence_copy' argument 2 names different: declaration 'to' definition 'applicator_'. cg3-1.5.1/src/libcg3.cpp:282:74: note: Function 'cg3_sentence_copy' argument 2 names different: declaration 'to' definition 'applicator_'. cg3-1.5.1/src/libcg3.cpp:297:44: style:inconclusive: Function 'cg3_sentence_runrules' argument 1 names different: declaration 'applicator' definition 'applicator_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:103:44: note: Function 'cg3_sentence_runrules' argument 1 names different: declaration 'applicator' definition 'applicator_'. cg3-1.5.1/src/libcg3.cpp:297:44: note: Function 'cg3_sentence_runrules' argument 1 names different: declaration 'applicator' definition 'applicator_'. cg3-1.5.1/src/libcg3.cpp:297:71: style:inconclusive: Function 'cg3_sentence_runrules' argument 2 names different: declaration 'sentence' definition 'sentence_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:103:70: note: Function 'cg3_sentence_runrules' argument 2 names different: declaration 'sentence' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:297:71: note: Function 'cg3_sentence_runrules' argument 2 names different: declaration 'sentence' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:305:46: style:inconclusive: Function 'cg3_sentence_numcohorts' argument 1 names different: declaration 'sentence' definition 'sentence_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:106:46: note: Function 'cg3_sentence_numcohorts' argument 1 names different: declaration 'sentence' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:305:46: note: Function 'cg3_sentence_numcohorts' argument 1 names different: declaration 'sentence' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:310:50: style:inconclusive: Function 'cg3_sentence_getcohort' argument 1 names different: declaration 'sentence' definition 'sentence_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:107:50: note: Function 'cg3_sentence_getcohort' argument 1 names different: declaration 'sentence' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:310:50: note: Function 'cg3_sentence_getcohort' argument 1 names different: declaration 'sentence' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:315:38: style:inconclusive: Function 'cg3_sentence_free' argument 1 names different: declaration 'sentence' definition 'sentence_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:108:38: note: Function 'cg3_sentence_free' argument 1 names different: declaration 'sentence' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:315:38: note: Function 'cg3_sentence_free' argument 1 names different: declaration 'sentence' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:320:43: style:inconclusive: Function 'cg3_sentence_addcohort' argument 1 names different: declaration 'sentence' definition 'sentence_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:105:43: note: Function 'cg3_sentence_addcohort' argument 1 names different: declaration 'sentence' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:320:43: note: Function 'cg3_sentence_addcohort' argument 1 names different: declaration 'sentence' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:320:66: style:inconclusive: Function 'cg3_sentence_addcohort' argument 2 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:105:65: note: Function 'cg3_sentence_addcohort' argument 2 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:320:66: note: Function 'cg3_sentence_addcohort' argument 2 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:326:45: style:inconclusive: Function 'cg3_cohort_create' argument 1 names different: declaration 'sentence' definition 'sentence_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:110:45: note: Function 'cg3_cohort_create' argument 1 names different: declaration 'sentence' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:326:45: note: Function 'cg3_cohort_create' argument 1 names different: declaration 'sentence' definition 'sentence_'. cg3-1.5.1/src/libcg3.cpp:333:41: style:inconclusive: Function 'cg3_cohort_setwordform' argument 1 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:111:41: note: Function 'cg3_cohort_setwordform' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:333:41: note: Function 'cg3_cohort_setwordform' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:333:59: style:inconclusive: Function 'cg3_cohort_setwordform' argument 2 names different: declaration 'wordform' definition 'tag_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:111:58: note: Function 'cg3_cohort_setwordform' argument 2 names different: declaration 'wordform' definition 'tag_'. cg3-1.5.1/src/libcg3.cpp:333:59: note: Function 'cg3_cohort_setwordform' argument 2 names different: declaration 'wordform' definition 'tag_'. cg3-1.5.1/src/libcg3.cpp:339:45: style:inconclusive: Function 'cg3_cohort_getwordform' argument 1 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:112:45: note: Function 'cg3_cohort_getwordform' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:339:45: note: Function 'cg3_cohort_getwordform' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:344:39: style:inconclusive: Function 'cg3_cohort_getid' argument 1 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:113:39: note: Function 'cg3_cohort_getid' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:344:39: note: Function 'cg3_cohort_getid' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:349:43: style:inconclusive: Function 'cg3_cohort_setdependency' argument 1 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:114:43: note: Function 'cg3_cohort_setdependency' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:349:43: note: Function 'cg3_cohort_setdependency' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:356:43: style:inconclusive: Function 'cg3_cohort_getdependency' argument 1 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:115:43: note: Function 'cg3_cohort_getdependency' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:356:43: note: Function 'cg3_cohort_getdependency' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:394:40: style:inconclusive: Function 'cg3_cohort_addreading' argument 1 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:117:40: note: Function 'cg3_cohort_addreading' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:394:40: note: Function 'cg3_cohort_addreading' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:394:62: style:inconclusive: Function 'cg3_cohort_addreading' argument 2 names different: declaration 'reading' definition 'reading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:117:61: note: Function 'cg3_cohort_addreading' argument 2 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:394:62: note: Function 'cg3_cohort_addreading' argument 2 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:400:43: style:inconclusive: Function 'cg3_cohort_numreadings' argument 1 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:118:43: note: Function 'cg3_cohort_numreadings' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:400:43: note: Function 'cg3_cohort_numreadings' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:405:48: style:inconclusive: Function 'cg3_cohort_getreading' argument 1 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:119:48: note: Function 'cg3_cohort_getreading' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:405:48: note: Function 'cg3_cohort_getreading' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:410:34: style:inconclusive: Function 'cg3_cohort_free' argument 1 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:121:34: note: Function 'cg3_cohort_free' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:410:34: note: Function 'cg3_cohort_free' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:415:45: style:inconclusive: Function 'cg3_reading_create' argument 1 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:123:45: note: Function 'cg3_reading_create' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:415:45: note: Function 'cg3_reading_create' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:424:44: style:inconclusive: Function 'cg3_reading_addtag' argument 1 names different: declaration 'reading' definition 'reading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:124:44: note: Function 'cg3_reading_addtag' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:424:44: note: Function 'cg3_reading_addtag' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:424:63: style:inconclusive: Function 'cg3_reading_addtag' argument 2 names different: declaration 'tag' definition 'tag_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:124:62: note: Function 'cg3_reading_addtag' argument 2 names different: declaration 'tag' definition 'tag_'. cg3-1.5.1/src/libcg3.cpp:424:63: note: Function 'cg3_reading_addtag' argument 2 names different: declaration 'tag' definition 'tag_'. cg3-1.5.1/src/libcg3.cpp:440:41: style:inconclusive: Function 'cg3_reading_numtags' argument 1 names different: declaration 'reading' definition 'reading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:125:41: note: Function 'cg3_reading_numtags' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:440:41: note: Function 'cg3_reading_numtags' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:445:42: style:inconclusive: Function 'cg3_reading_gettag' argument 1 names different: declaration 'reading' definition 'reading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:126:42: note: Function 'cg3_reading_gettag' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:445:42: note: Function 'cg3_reading_gettag' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:453:43: style:inconclusive: Function 'cg3_reading_numtraces' argument 1 names different: declaration 'reading' definition 'reading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:127:43: note: Function 'cg3_reading_numtraces' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:453:43: note: Function 'cg3_reading_numtraces' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:458:44: style:inconclusive: Function 'cg3_reading_gettrace' argument 1 names different: declaration 'reading' definition 'reading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:128:44: note: Function 'cg3_reading_gettrace' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:458:44: note: Function 'cg3_reading_gettrace' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:465:36: style:inconclusive: Function 'cg3_reading_free' argument 1 names different: declaration 'reading' definition 'reading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:130:36: note: Function 'cg3_reading_free' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:465:36: note: Function 'cg3_reading_free' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:470:49: style:inconclusive: Function 'cg3_subreading_create' argument 1 names different: declaration 'reading' definition 'reading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:132:49: note: Function 'cg3_subreading_create' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:470:49: note: Function 'cg3_subreading_create' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:475:51: style:inconclusive: Function 'cg3_reading_setsubreading' argument 1 names different: declaration 'reading' definition 'reading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:134:51: note: Function 'cg3_reading_setsubreading' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:475:51: note: Function 'cg3_reading_setsubreading' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:475:74: style:inconclusive: Function 'cg3_reading_setsubreading' argument 2 names different: declaration 'subreading' definition 'subreading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:134:73: note: Function 'cg3_reading_setsubreading' argument 2 names different: declaration 'subreading' definition 'subreading_'. cg3-1.5.1/src/libcg3.cpp:475:74: note: Function 'cg3_reading_setsubreading' argument 2 names different: declaration 'subreading' definition 'subreading_'. cg3-1.5.1/src/libcg3.cpp:483:48: style:inconclusive: Function 'cg3_reading_numsubreadings' argument 1 names different: declaration 'reading' definition 'reading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:135:48: note: Function 'cg3_reading_numsubreadings' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:483:48: note: Function 'cg3_reading_numsubreadings' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:488:53: style:inconclusive: Function 'cg3_reading_getsubreading' argument 1 names different: declaration 'reading' definition 'reading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:136:53: note: Function 'cg3_reading_getsubreading' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:488:53: note: Function 'cg3_reading_getsubreading' argument 1 names different: declaration 'reading' definition 'reading_'. cg3-1.5.1/src/libcg3.cpp:495:39: style:inconclusive: Function 'cg3_subreading_free' argument 1 names different: declaration 'subreading' definition 'subreading_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:138:39: note: Function 'cg3_subreading_free' argument 1 names different: declaration 'subreading' definition 'subreading_'. cg3-1.5.1/src/libcg3.cpp:495:39: note: Function 'cg3_subreading_free' argument 1 names different: declaration 'subreading' definition 'subreading_'. cg3-1.5.1/src/libcg3.cpp:554:41: style:inconclusive: Function 'cg3_tag_gettext_u8' argument 1 names different: declaration 'tag' definition 'tag_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:151:41: note: Function 'cg3_tag_gettext_u8' argument 1 names different: declaration 'tag' definition 'tag_'. cg3-1.5.1/src/libcg3.cpp:554:41: note: Function 'cg3_tag_gettext_u8' argument 1 names different: declaration 'tag' definition 'tag_'. cg3-1.5.1/src/libcg3.cpp:567:46: style:inconclusive: Function 'cg3_tag_gettext_u16' argument 1 names different: declaration 'tag' definition 'tag_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:152:46: note: Function 'cg3_tag_gettext_u16' argument 1 names different: declaration 'tag' definition 'tag_'. cg3-1.5.1/src/libcg3.cpp:567:46: note: Function 'cg3_tag_gettext_u16' argument 1 names different: declaration 'tag' definition 'tag_'. cg3-1.5.1/src/libcg3.cpp:572:46: style:inconclusive: Function 'cg3_tag_gettext_u32' argument 1 names different: declaration 'tag' definition 'tag_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:153:46: note: Function 'cg3_tag_gettext_u32' argument 1 names different: declaration 'tag' definition 'tag_'. cg3-1.5.1/src/libcg3.cpp:572:46: note: Function 'cg3_tag_gettext_u32' argument 1 names different: declaration 'tag' definition 'tag_'. cg3-1.5.1/src/libcg3.cpp:587:43: style:inconclusive: Function 'cg3_tag_gettext_w' argument 1 names different: declaration 'tag' definition 'tag_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:154:43: note: Function 'cg3_tag_gettext_w' argument 1 names different: declaration 'tag' definition 'tag_'. cg3-1.5.1/src/libcg3.cpp:587:43: note: Function 'cg3_tag_gettext_w' argument 1 names different: declaration 'tag' definition 'tag_'. cg3-1.5.1/src/libcg3.cpp:603:46: style:inconclusive: Function 'cg3_cohort_numdelreadings' argument 1 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:157:46: note: Function 'cg3_cohort_numdelreadings' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:603:46: note: Function 'cg3_cohort_numdelreadings' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:608:51: style:inconclusive: Function 'cg3_cohort_getdelreading' argument 1 names different: declaration 'cohort' definition 'cohort_'. [funcArgNamesDifferent] cg3-1.5.1/src/cg3.h:158:51: note: Function 'cg3_cohort_getdelreading' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:608:51: note: Function 'cg3_cohort_getdelreading' argument 1 names different: declaration 'cohort' definition 'cohort_'. cg3-1.5.1/src/libcg3.cpp:190:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/libcg3.cpp:235:51: style: Parameter 't' can be declared as pointer to const [constParameterPointer] cg3-1.5.1/src/libcg3.cpp:284:16: style: Variable 'sentence' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/libcg3.cpp:340:7: style: Variable 'cohort' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/libcg3.cpp:345:7: style: Variable 'cohort' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/libcg3.cpp:357:7: style: Variable 'cohort' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/libcg3.cpp:484:7: style: Variable 'reading' can be declared as pointer to const [constVariablePointer] cg3-1.5.1/src/libcg3.cpp:491:7: style: Variable 'reading' can be declared as pointer to const [constVariablePointer] diff: head cg3-1.5.1/src/ApertiumApplicator.cpp:1003:26: style:inconclusive: Technically the member function 'CG3::ApertiumApplicator::mergeMappings' can be const. [functionConst] cg3-1.5.1/src/ApertiumApplicator.hpp:49:7: note: Technically the member function 'CG3::ApertiumApplicator::mergeMappings' can be const. cg3-1.5.1/src/ApertiumApplicator.cpp:1003:26: note: Technically the member function 'CG3::ApertiumApplicator::mergeMappings' can be const. 2.17.0 cg3-1.5.1/src/ApertiumApplicator.hpp:49:7: style:inconclusive: Technically the member function 'CG3::ApertiumApplicator::mergeMappings' can be const. [functionConst] cg3-1.5.1/src/ApertiumApplicator.cpp:1003:26: note: Technically the member function 'CG3::ApertiumApplicator::mergeMappings' can be const. cg3-1.5.1/src/ApertiumApplicator.hpp:49:7: note: Technically the member function 'CG3::ApertiumApplicator::mergeMappings' can be const. head cg3-1.5.1/src/BinaryGrammar_read.cpp:604:11: style: The scope of the variable 'tmpl' can be reduced. [variableScope] head cg3-1.5.1/src/Grammar.cpp:516:16: performance:inconclusive: Technically the member function 'CG3::Grammar::allocateRule' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.hpp:145:8: note: Technically the member function 'CG3::Grammar::allocateRule' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:516:16: note: Technically the member function 'CG3::Grammar::allocateRule' can be static (but you may consider moving to unnamed namespace). head cg3-1.5.1/src/Grammar.cpp:525:15: performance:inconclusive: Technically the member function 'CG3::Grammar::destroyRule' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.hpp:147:7: note: Technically the member function 'CG3::Grammar::destroyRule' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:525:15: note: Technically the member function 'CG3::Grammar::destroyRule' can be static (but you may consider moving to unnamed namespace). head cg3-1.5.1/src/Grammar.cpp:529:15: performance:inconclusive: Technically the member function 'CG3::Grammar::allocateTag' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.hpp:135:7: note: Technically the member function 'CG3::Grammar::allocateTag' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:529:15: note: Technically the member function 'CG3::Grammar::allocateTag' can be static (but you may consider moving to unnamed namespace). head cg3-1.5.1/src/Grammar.cpp:589:15: performance:inconclusive: Technically the member function 'CG3::Grammar::addTagToSet' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.hpp:143:7: note: Technically the member function 'CG3::Grammar::addTagToSet' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:589:15: note: Technically the member function 'CG3::Grammar::addTagToSet' can be static (but you may consider moving to unnamed namespace). head cg3-1.5.1/src/Grammar.cpp:605:15: performance:inconclusive: Technically the member function 'CG3::Grammar::destroyTag' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.hpp:142:7: note: Technically the member function 'CG3::Grammar::destroyTag' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:605:15: note: Technically the member function 'CG3::Grammar::destroyTag' can be static (but you may consider moving to unnamed namespace). head cg3-1.5.1/src/Grammar.cpp:609:26: performance:inconclusive: Technically the member function 'CG3::Grammar::allocateContextualTest' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.hpp:149:18: note: Technically the member function 'CG3::Grammar::allocateContextualTest' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.cpp:609:26: note: Technically the member function 'CG3::Grammar::allocateContextualTest' can be static (but you may consider moving to unnamed namespace). 2.17.0 cg3-1.5.1/src/Grammar.hpp:135:7: performance:inconclusive: Technically the member function 'CG3::Grammar::allocateTag' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.cpp:529:15: note: Technically the member function 'CG3::Grammar::allocateTag' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.hpp:135:7: note: Technically the member function 'CG3::Grammar::allocateTag' can be static (but you may consider moving to unnamed namespace). 2.17.0 cg3-1.5.1/src/Grammar.hpp:142:7: performance:inconclusive: Technically the member function 'CG3::Grammar::destroyTag' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.cpp:605:15: note: Technically the member function 'CG3::Grammar::destroyTag' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.hpp:142:7: note: Technically the member function 'CG3::Grammar::destroyTag' can be static (but you may consider moving to unnamed namespace). 2.17.0 cg3-1.5.1/src/Grammar.hpp:143:7: performance:inconclusive: Technically the member function 'CG3::Grammar::addTagToSet' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.cpp:589:15: note: Technically the member function 'CG3::Grammar::addTagToSet' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.hpp:143:7: note: Technically the member function 'CG3::Grammar::addTagToSet' can be static (but you may consider moving to unnamed namespace). 2.17.0 cg3-1.5.1/src/Grammar.hpp:145:8: performance:inconclusive: Technically the member function 'CG3::Grammar::allocateRule' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.cpp:516:16: note: Technically the member function 'CG3::Grammar::allocateRule' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.hpp:145:8: note: Technically the member function 'CG3::Grammar::allocateRule' can be static (but you may consider moving to unnamed namespace). 2.17.0 cg3-1.5.1/src/Grammar.hpp:147:7: performance:inconclusive: Technically the member function 'CG3::Grammar::destroyRule' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.cpp:525:15: note: Technically the member function 'CG3::Grammar::destroyRule' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.hpp:147:7: note: Technically the member function 'CG3::Grammar::destroyRule' can be static (but you may consider moving to unnamed namespace). 2.17.0 cg3-1.5.1/src/Grammar.hpp:149:18: performance:inconclusive: Technically the member function 'CG3::Grammar::allocateContextualTest' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Grammar.cpp:609:26: note: Technically the member function 'CG3::Grammar::allocateContextualTest' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Grammar.hpp:149:18: note: Technically the member function 'CG3::Grammar::allocateContextualTest' can be static (but you may consider moving to unnamed namespace). head cg3-1.5.1/src/GrammarApplicator.cpp:322:25: style:inconclusive: Technically the member function 'CG3::GrammarApplicator::printTrace' can be const. [functionConst] cg3-1.5.1/src/GrammarApplicator.hpp:196:7: note: Technically the member function 'CG3::GrammarApplicator::printTrace' can be const. cg3-1.5.1/src/GrammarApplicator.cpp:322:25: note: Technically the member function 'CG3::GrammarApplicator::printTrace' can be const. 2.17.0 cg3-1.5.1/src/GrammarApplicator.hpp:196:7: style:inconclusive: Technically the member function 'CG3::GrammarApplicator::printTrace' can be const. [functionConst] cg3-1.5.1/src/GrammarApplicator.cpp:322:25: note: Technically the member function 'CG3::GrammarApplicator::printTrace' can be const. cg3-1.5.1/src/GrammarApplicator.hpp:196:7: note: Technically the member function 'CG3::GrammarApplicator::printTrace' can be const. 2.17.0 cg3-1.5.1/src/GrammarApplicator.hpp:317:7: style:inconclusive: Technically the member function 'CG3::GrammarApplicator::posOutputHelper' can be const. [functionConst] cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:180:25: note: Technically the member function 'CG3::GrammarApplicator::posOutputHelper' can be const. cg3-1.5.1/src/GrammarApplicator.hpp:317:7: note: Technically the member function 'CG3::GrammarApplicator::posOutputHelper' can be const. 2.17.0 cg3-1.5.1/src/GrammarApplicator.hpp:342:7: performance:inconclusive: Technically the member function 'CG3::GrammarApplicator::delTagFromReading' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:565:25: note: Technically the member function 'CG3::GrammarApplicator::delTagFromReading' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/GrammarApplicator.hpp:342:7: note: Technically the member function 'CG3::GrammarApplicator::delTagFromReading' can be static (but you may consider moving to unnamed namespace). 2.17.0 cg3-1.5.1/src/GrammarApplicator.hpp:347:7: style:inconclusive: Technically the member function 'CG3::GrammarApplicator::mergeReadings' can be const. [functionConst] cg3-1.5.1/src/GrammarApplicator_reflow.cpp:685:25: note: Technically the member function 'CG3::GrammarApplicator::mergeReadings' can be const. cg3-1.5.1/src/GrammarApplicator.hpp:347:7: note: Technically the member function 'CG3::GrammarApplicator::mergeReadings' can be const. head cg3-1.5.1/src/GrammarApplicator_reflow.cpp:565:25: performance:inconclusive: Technically the member function 'CG3::GrammarApplicator::delTagFromReading' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/GrammarApplicator.hpp:342:7: note: Technically the member function 'CG3::GrammarApplicator::delTagFromReading' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/GrammarApplicator_reflow.cpp:565:25: note: Technically the member function 'CG3::GrammarApplicator::delTagFromReading' can be static (but you may consider moving to unnamed namespace). head cg3-1.5.1/src/GrammarApplicator_reflow.cpp:685:25: style:inconclusive: Technically the member function 'CG3::GrammarApplicator::mergeReadings' can be const. [functionConst] cg3-1.5.1/src/GrammarApplicator.hpp:347:7: note: Technically the member function 'CG3::GrammarApplicator::mergeReadings' can be const. cg3-1.5.1/src/GrammarApplicator_reflow.cpp:685:25: note: Technically the member function 'CG3::GrammarApplicator::mergeReadings' can be const. head cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:180:25: style:inconclusive: Technically the member function 'CG3::GrammarApplicator::posOutputHelper' can be const. [functionConst] cg3-1.5.1/src/GrammarApplicator.hpp:317:7: note: Technically the member function 'CG3::GrammarApplicator::posOutputHelper' can be const. cg3-1.5.1/src/GrammarApplicator_runContextualTest.cpp:180:25: note: Technically the member function 'CG3::GrammarApplicator::posOutputHelper' can be const. head cg3-1.5.1/src/GrammarWriter.cpp:573:21: performance:inconclusive: Technically the member function 'CG3::GrammarWriter::printTag' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/GrammarWriter.hpp:47:7: note: Technically the member function 'CG3::GrammarWriter::printTag' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/GrammarWriter.cpp:573:21: note: Technically the member function 'CG3::GrammarWriter::printTag' can be static (but you may consider moving to unnamed namespace). 2.17.0 cg3-1.5.1/src/GrammarWriter.hpp:47:7: performance:inconclusive: Technically the member function 'CG3::GrammarWriter::printTag' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/GrammarWriter.cpp:573:21: note: Technically the member function 'CG3::GrammarWriter::printTag' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/GrammarWriter.hpp:47:7: note: Technically the member function 'CG3::GrammarWriter::printTag' can be static (but you may consider moving to unnamed namespace). head cg3-1.5.1/src/MatxinApplicator.cpp:35:24: style:inconclusive: Technically the member function 'CG3::MatxinApplicator::getNullFlush' can be const. [functionConst] cg3-1.5.1/src/MatxinApplicator.hpp:33:7: note: Technically the member function 'CG3::MatxinApplicator::getNullFlush' can be const. cg3-1.5.1/src/MatxinApplicator.cpp:35:24: note: Technically the member function 'CG3::MatxinApplicator::getNullFlush' can be const. head cg3-1.5.1/src/MatxinApplicator.cpp:837:24: style:inconclusive: Technically the member function 'CG3::MatxinApplicator::mergeMappings' can be const. [functionConst] cg3-1.5.1/src/MatxinApplicator.hpp:64:7: note: Technically the member function 'CG3::MatxinApplicator::mergeMappings' can be const. cg3-1.5.1/src/MatxinApplicator.cpp:837:24: note: Technically the member function 'CG3::MatxinApplicator::mergeMappings' can be const. 2.17.0 cg3-1.5.1/src/MatxinApplicator.hpp:33:7: style:inconclusive: Technically the member function 'CG3::MatxinApplicator::getNullFlush' can be const. [functionConst] cg3-1.5.1/src/MatxinApplicator.cpp:35:24: note: Technically the member function 'CG3::MatxinApplicator::getNullFlush' can be const. cg3-1.5.1/src/MatxinApplicator.hpp:33:7: note: Technically the member function 'CG3::MatxinApplicator::getNullFlush' can be const. 2.17.0 cg3-1.5.1/src/MatxinApplicator.hpp:64:7: style:inconclusive: Technically the member function 'CG3::MatxinApplicator::mergeMappings' can be const. [functionConst] cg3-1.5.1/src/MatxinApplicator.cpp:837:24: note: Technically the member function 'CG3::MatxinApplicator::mergeMappings' can be const. cg3-1.5.1/src/MatxinApplicator.hpp:64:7: note: Technically the member function 'CG3::MatxinApplicator::mergeMappings' can be const. head cg3-1.5.1/src/Reading.cpp:204:19: performance:inconclusive: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Reading.hpp:75:11: note: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Reading.cpp:204:19: note: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). head cg3-1.5.1/src/Reading.cpp:208:19: performance:inconclusive: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Reading.hpp:76:11: note: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Reading.cpp:208:19: note: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). 2.17.0 cg3-1.5.1/src/Reading.hpp:75:11: performance:inconclusive: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Reading.cpp:204:19: note: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Reading.hpp:75:11: note: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). 2.17.0 cg3-1.5.1/src/Reading.hpp:76:11: performance:inconclusive: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Reading.cpp:208:19: note: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Reading.hpp:76:11: note: Technically the member function 'CG3::Reading::allocateReading' can be static (but you may consider moving to unnamed namespace). head cg3-1.5.1/src/Relabeller.cpp:191:18: style:inconclusive: Technically the member function 'CG3::Relabeller::reindexSet' can be const. [functionConst] cg3-1.5.1/src/Relabeller.hpp:52:7: note: Technically the member function 'CG3::Relabeller::reindexSet' can be const. cg3-1.5.1/src/Relabeller.cpp:191:18: note: Technically the member function 'CG3::Relabeller::reindexSet' can be const. 2.17.0 cg3-1.5.1/src/Relabeller.hpp:52:7: style:inconclusive: Technically the member function 'CG3::Relabeller::reindexSet' can be const. [functionConst] cg3-1.5.1/src/Relabeller.cpp:191:18: note: Technically the member function 'CG3::Relabeller::reindexSet' can be const. cg3-1.5.1/src/Relabeller.hpp:52:7: note: Technically the member function 'CG3::Relabeller::reindexSet' can be const. head cg3-1.5.1/src/Rule.cpp:34:12: performance:inconclusive: Technically the member function 'CG3::Rule::addContextualTest' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Rule.hpp:125:7: note: Technically the member function 'CG3::Rule::addContextualTest' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Rule.cpp:34:12: note: Technically the member function 'CG3::Rule::addContextualTest' can be static (but you may consider moving to unnamed namespace). 2.17.0 cg3-1.5.1/src/Rule.hpp:125:7: performance:inconclusive: Technically the member function 'CG3::Rule::addContextualTest' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/Rule.cpp:34:12: note: Technically the member function 'CG3::Rule::addContextualTest' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/Rule.hpp:125:7: note: Technically the member function 'CG3::Rule::addContextualTest' can be static (but you may consider moving to unnamed namespace). head cg3-1.5.1/src/Tag.cpp:30:6: warning:inconclusive: Member variable 'Tag::tag_raw' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] head cg3-1.5.1/src/TextualParser.cpp:48:21: performance:inconclusive: Technically the member function 'CG3::TextualParser::print_ast' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/TextualParser.hpp:41:7: note: Technically the member function 'CG3::TextualParser::print_ast' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/TextualParser.cpp:48:21: note: Technically the member function 'CG3::TextualParser::print_ast' can be static (but you may consider moving to unnamed namespace). 2.17.0 cg3-1.5.1/src/TextualParser.hpp:41:7: performance:inconclusive: Technically the member function 'CG3::TextualParser::print_ast' can be static (but you may consider moving to unnamed namespace). [functionStatic] cg3-1.5.1/src/TextualParser.cpp:48:21: note: Technically the member function 'CG3::TextualParser::print_ast' can be static (but you may consider moving to unnamed namespace). cg3-1.5.1/src/TextualParser.hpp:41:7: note: Technically the member function 'CG3::TextualParser::print_ast' can be static (but you may consider moving to unnamed namespace). head cg3-1.5.1/src/Window.cpp:138:14: style:inconclusive: Technically the member function 'CG3::Window::rebuildCohortLinks' can be const. [functionConst] cg3-1.5.1/src/Window.hpp:58:7: note: Technically the member function 'CG3::Window::rebuildCohortLinks' can be const. cg3-1.5.1/src/Window.cpp:138:14: note: Technically the member function 'CG3::Window::rebuildCohortLinks' can be const. 2.17.0 cg3-1.5.1/src/Window.hpp:58:7: style:inconclusive: Technically the member function 'CG3::Window::rebuildCohortLinks' can be const. [functionConst] cg3-1.5.1/src/Window.cpp:138:14: note: Technically the member function 'CG3::Window::rebuildCohortLinks' can be const. cg3-1.5.1/src/Window.hpp:58:7: note: Technically the member function 'CG3::Window::rebuildCohortLinks' can be const. 2.17.0 cg3-1.5.1/src/cg-annotate.cpp:232:14: style: Variable 'it' can be declared as reference to const [constVariableReference] 2.17.0 cg3-1.5.1/src/uextras.hpp:227:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Str [valueFlowBailoutIncompleteVar] DONE