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:
Matthias Krüger 2016-11-04 14:40:59 +01:00
parent 919f8ac323
commit 13bfe873f6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
};
/// @}