Run astyle. Fix some Doxygen issues
This commit is contained in:
parent
3e11eb9dca
commit
c1cdcc158f
|
@ -62,7 +62,8 @@ bool isSameExpression(bool cpp, bool macro, const Token *tok1, const Token *tok2
|
||||||
* @param cpp c++ file
|
* @param cpp c++ file
|
||||||
* @param cond1 condition1
|
* @param cond1 condition1
|
||||||
* @param cond2 condition2
|
* @param cond2 condition2
|
||||||
* @param constFunctions constFunctions
|
* @param library files data
|
||||||
|
* @param pure
|
||||||
*/
|
*/
|
||||||
bool isOppositeCond(bool isNot, bool cpp, const Token * const cond1, const Token * const cond2, const Library& library, bool pure);
|
bool isOppositeCond(bool isNot, bool cpp, const Token * const cond1, const Token * const cond2, const Library& library, bool pure);
|
||||||
|
|
||||||
|
|
|
@ -45,8 +45,6 @@ static bool checkNullpointerFunctionCallPlausibility(const Function* func, unsig
|
||||||
* @param tok first token
|
* @param tok first token
|
||||||
* @param var variables that the function read / write.
|
* @param var variables that the function read / write.
|
||||||
* @param library --library files data
|
* @param library --library files data
|
||||||
* @param value 0 => invalid with null pointers as parameter.
|
|
||||||
* 1-.. => only invalid with uninitialized data.
|
|
||||||
*/
|
*/
|
||||||
void CheckNullPointer::parseFunctionCall(const Token &tok, std::list<const Token *> &var, const Library *library)
|
void CheckNullPointer::parseFunctionCall(const Token &tok, std::list<const Token *> &var, const Library *library)
|
||||||
{
|
{
|
||||||
|
|
|
@ -138,7 +138,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @brief Check if the file extension indicates that it's a C/C++ source file.
|
* @brief Check if the file extension indicates that it's a C/C++ source file.
|
||||||
* Check if the file has source file extension: *.c;*.cpp;*.cxx;*.c++;*.cc;*.txx
|
* Check if the file has source file extension: *.c;*.cpp;*.cxx;*.c++;*.cc;*.txx
|
||||||
* @param filename filename to check. path info is optional
|
* @param path filename to check. path info is optional
|
||||||
* @param extra extra file extensions
|
* @param extra extra file extensions
|
||||||
* @return true if the file extension indicates it should be checked
|
* @return true if the file extension indicates it should be checked
|
||||||
*/
|
*/
|
||||||
|
@ -153,7 +153,7 @@ public:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Identify language based on file extension.
|
* @brief Identify language based on file extension.
|
||||||
* @param extensionInLowerCase filename to check. path info is optional
|
* @param path filename to check. path info is optional
|
||||||
* @return true if extension is meant for C++ files
|
* @return true if extension is meant for C++ files
|
||||||
*/
|
*/
|
||||||
static bool isCPP(const std::string &path);
|
static bool isCPP(const std::string &path);
|
||||||
|
|
|
@ -174,7 +174,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @brief Returns true if given id is in the list of
|
* @brief Returns true if given id is in the list of
|
||||||
* enabled extra checks (--enable)
|
* enabled extra checks (--enable)
|
||||||
* @param check group to be enabled
|
* @param group group to be enabled
|
||||||
* @return true if the check is enabled.
|
* @return true if the check is enabled.
|
||||||
*/
|
*/
|
||||||
bool isEnabled(EnabledGroup group) const {
|
bool isEnabled(EnabledGroup group) const {
|
||||||
|
|
|
@ -1085,7 +1085,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @brief find a variable type if it's a user defined type
|
* @brief find a variable type if it's a user defined type
|
||||||
* @param start scope to start looking in
|
* @param start scope to start looking in
|
||||||
* @param type token containing variable type
|
* @param typeTok token containing variable type
|
||||||
* @return pointer to type if found or NULL if not found
|
* @return pointer to type if found or NULL if not found
|
||||||
*/
|
*/
|
||||||
const Type *findVariableType(const Scope *start, const Token *typeTok) const;
|
const Type *findVariableType(const Scope *start, const Token *typeTok) const;
|
||||||
|
|
|
@ -435,7 +435,7 @@ public:
|
||||||
* string, return value is 0. If needle was not found, return
|
* string, return value is 0. If needle was not found, return
|
||||||
* value is -1.
|
* value is -1.
|
||||||
*
|
*
|
||||||
* @param needle Current token
|
* @param tok Current token (needle)
|
||||||
* @param haystack e.g. "one|two" or "|one|two"
|
* @param haystack e.g. "one|two" or "|one|two"
|
||||||
* @param varid optional varid of token
|
* @param varid optional varid of token
|
||||||
* @return 1 if needle is found from the haystack
|
* @return 1 if needle is found from the haystack
|
||||||
|
|
|
@ -95,7 +95,6 @@ public:
|
||||||
*
|
*
|
||||||
* @param FileName The filename
|
* @param FileName The filename
|
||||||
* @param configuration E.g. "A" for code where "#ifdef A" is true
|
* @param configuration E.g. "A" for code where "#ifdef A" is true
|
||||||
* @param noSymbolDB_AST Disable creation of SymbolDatabase and AST
|
|
||||||
* @return false if source code contains syntax errors
|
* @return false if source code contains syntax errors
|
||||||
*/
|
*/
|
||||||
bool tokenize(std::istream &code,
|
bool tokenize(std::istream &code,
|
||||||
|
|
Loading…
Reference in New Issue