Eugene.Zelenko created this revision. Eugene.Zelenko added reviewers: alexfh, aaron.ballman. Eugene.Zelenko added a subscriber: cfe-commits. Eugene.Zelenko set the repository for this revision to rL LLVM.
I checked this patch on my own build on RHEL 6. Regressions were OK. Repository: rL LLVM http://reviews.llvm.org/D18231 Files: clang-query/QueryParser.h clang-rename/RenamingAction.cpp clang-rename/USRFindingAction.cpp clang-rename/tool/ClangRename.cpp pp-trace/PPCallbacksTracker.cpp unittests/clang-rename/USRLocFindingTest.cpp
Index: pp-trace/PPCallbacksTracker.cpp =================================================================== --- pp-trace/PPCallbacksTracker.cpp +++ pp-trace/PPCallbacksTracker.cpp @@ -1,24 +1,22 @@ -//===--- PPCallbacksTracker.cpp - Preprocessor tracker -*--*-------------===// +//===--- PPCallbacksTracker.cpp - Preprocessor tracker -*--*---------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // -//===--------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// /// /// \file /// \brief Implementations for preprocessor tracking. /// /// See the header for details. /// -//===--------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// #include "PPCallbacksTracker.h" #include "clang/Lex/MacroArgs.h" #include "llvm/Support/raw_ostream.h" -#include <stdarg.h> -#include <stdio.h> // Utility functions. Index: unittests/clang-rename/USRLocFindingTest.cpp =================================================================== --- unittests/clang-rename/USRLocFindingTest.cpp +++ unittests/clang-rename/USRLocFindingTest.cpp @@ -3,7 +3,6 @@ #include "gtest/gtest.h" #include <map> #include <set> -#include <stdio.h> #include <vector> namespace clang { @@ -79,6 +78,6 @@ testOffsetGroups(VarTest, VarTestOffsets); } -} -} -} +} // namespace test +} // namespace rename +} // namespace clang Index: clang-rename/tool/ClangRename.cpp =================================================================== --- clang-rename/tool/ClangRename.cpp +++ clang-rename/tool/ClangRename.cpp @@ -35,12 +35,8 @@ #include "clang/Tooling/Tooling.h" #include "llvm/ADT/IntrusiveRefCntPtr.h" #include "llvm/Support/Host.h" -#include <ctype.h> -#include <stdio.h> -#include <stdlib.h> +#include <cstdlib> #include <string> -#include <time.h> -#include <vector> using namespace llvm; Index: clang-rename/USRFindingAction.cpp =================================================================== --- clang-rename/USRFindingAction.cpp +++ clang-rename/USRFindingAction.cpp @@ -25,9 +25,6 @@ #include "clang/Tooling/CommonOptionsParser.h" #include "clang/Tooling/Refactoring.h" #include "clang/Tooling/Tooling.h" -#include <ctype.h> -#include <stdio.h> -#include <stdlib.h> #include <string> #include <vector> Index: clang-rename/RenamingAction.cpp =================================================================== --- clang-rename/RenamingAction.cpp +++ clang-rename/RenamingAction.cpp @@ -24,9 +24,6 @@ #include "clang/Tooling/CommonOptionsParser.h" #include "clang/Tooling/Refactoring.h" #include "clang/Tooling/Tooling.h" -#include <ctype.h> -#include <stdio.h> -#include <stdlib.h> #include <string> #include <vector> @@ -86,5 +83,5 @@ Replaces, PrintLocations); } -} -} +} // namespace rename +} // namespace clang Index: clang-query/QueryParser.h =================================================================== --- clang-query/QueryParser.h +++ clang-query/QueryParser.h @@ -13,7 +13,7 @@ #include "Query.h" #include "QuerySession.h" #include "llvm/LineEditor/LineEditor.h" -#include <stddef.h> +#include <cstddef> namespace clang { namespace query { @@ -69,4 +69,4 @@ } // namespace query } // namespace clang -#endif +#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_QUERY_QUERY_PARSER_H
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits