summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2016-05-02 17:49:00 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2016-05-02 17:49:00 +0000
commita54a212d9d1fa68f1da63fc1c5b00e0e15ea6b38 (patch)
tree19de4588656643371436ffe0fc782d27103d831a /clang-tools-extra/include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp
parent0404605dda562b3ba70030014c838f7209e05342 (diff)
downloadbcm5719-llvm-a54a212d9d1fa68f1da63fc1c5b00e0e15ea6b38.tar.gz
bcm5719-llvm-a54a212d9d1fa68f1da63fc1c5b00e0e15ea6b38.zip
[include-fixer] Fix Clang-tidy modernize-use-override and some Include What You Use warnings.
Differential revision: http://reviews.llvm.org/D19755 llvm-svn: 268262
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.cpp14
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);
OpenPOWER on IntegriCloud