@@ -777,6 +777,9 @@ class CPPCHECKLIB Function {
777777 nonneg int initializedArgCount () const {
778778 return initArgCount;
779779 }
780+ /* *
781+ * @throws InternalError thrown on unrecognized lambda
782+ */
780783 void addArguments (const Scope *scope);
781784
782785 /* * @brief check if this function is virtual in the base classes */
@@ -1438,6 +1441,9 @@ class CPPCHECKLIB SymbolDatabase {
14381441 friend class Function ;
14391442
14401443 // Create symboldatabase...
1444+ /* *
1445+ * @throws InternalError thrown on unhandled code
1446+ */
14411447 void createSymbolDatabaseFindAllScopes ();
14421448 void createSymbolDatabaseClassInfo ();
14431449 void createSymbolDatabaseVariableInfo ();
@@ -1461,6 +1467,9 @@ class CPPCHECKLIB SymbolDatabase {
14611467 void addClassFunction (Scope *&scope, const Token *&tok, const Token *argStart);
14621468 RET_NONNULL static Function *addGlobalFunctionDecl (Scope*& scope, const Token* tok, const Token *argStart, const Token* funcStart);
14631469 Function *addGlobalFunction (Scope*& scope, const Token*& tok, const Token *argStart, const Token* funcStart);
1470+ /* *
1471+ * @throws InternalError thrown on unrecognized function
1472+ */
14641473 void addNewFunction (Scope *&scope, const Token *&tok);
14651474 bool isFunction (const Token *tok, const Scope* outerScope, const Token *&funcStart, const Token *&argStart, const Token*& declEnd) const ;
14661475 const Type *findTypeInNested (const Token *startTok, const Scope *startScope) const ;
@@ -1485,6 +1494,7 @@ class CPPCHECKLIB SymbolDatabase {
14851494 void validateExecutableScopes () const ;
14861495 /* *
14871496 * @brief Check variable list, e.g. variables w/o scope
1497+ * @throws InternalError thrown on variable without scope
14881498 */
14891499 void validateVariables () const ;
14901500
0 commit comments