diff options
Diffstat (limited to 'clang-tools-extra/include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp')
| -rw-r--r-- | clang-tools-extra/include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/clang-tools-extra/include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp b/clang-tools-extra/include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp index fffbf0b1db6..2ef6fdc04a3 100644 --- a/clang-tools-extra/include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp +++ b/clang-tools-extra/include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp @@ -8,16 +8,24 @@ //===----------------------------------------------------------------------===// #include "FindAllSymbols.h" +#include "SymbolInfo.h" #include "clang/ASTMatchers/ASTMatchFinder.h" -#include "clang/ASTMatchers/ASTMatchers.h" -#include "clang/Frontend/FrontendActions.h" #include "clang/Tooling/CommonOptionsParser.h" #include "clang/Tooling/Tooling.h" +#include "llvm/ADT/ArrayRef.h" +#include "llvm/ADT/SmallString.h" +#include "llvm/ADT/StringRef.h" +#include "llvm/Support/CommandLine.h" +#include "llvm/Support/FileSystem.h" +#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Path.h" #include "llvm/Support/ThreadPool.h" +#include "llvm/Support/raw_ostream.h" #include <map> #include <mutex> +#include <set> #include <string> +#include <system_error> #include <vector> using namespace clang::tooling; @@ -52,7 +60,7 @@ namespace find_all_symbols { class YamlReporter : public clang::find_all_symbols::FindAllSymbols::ResultReporter { public: - ~YamlReporter() {} + ~YamlReporter() override {} void reportResult(StringRef FileName, const SymbolInfo &Symbol) override { Symbols[FileName].insert(Symbol); |

