resolve mismatching tag reported by clang4.0-dev
was: In file included from lib/checkunusedfunctions.cpp:21: lib/checkunusedfunctions.h:114:15: warning: struct 'FunctionDecl' was previously declared as a class [-Wmismatched-tags] std::list<struct FunctionDecl> _functionDecl; ^ lib/checkunusedfunctions.h:108:23: note: previous use is here class CPPCHECKLIB FunctionDecl { ^ lib/checkunusedfunctions.h:114:15: note: did you mean class here? std::list<struct FunctionDecl> _functionDecl; ^~~~~~ class 1 warning generated.
This commit is contained in:
parent
919f8ac323
commit
13bfe873f6
|
@ -111,7 +111,7 @@ private:
|
|||
std::string functionName;
|
||||
unsigned int lineNumber;
|
||||
};
|
||||
std::list<struct FunctionDecl> _functionDecl;
|
||||
std::list<FunctionDecl> _functionDecl;
|
||||
std::set<std::string> _functionCalls;
|
||||
};
|
||||
/// @}
|
||||
|
|
Loading…
Reference in New Issue