summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2013-09-30 13:59:21 +0000
committerEdwin Vane <edwin.vane@intel.com>2013-09-30 13:59:21 +0000
commit59d93af4a55897b99873225249692cc7d8fe5969 (patch)
tree46e6e707b1a20eb84b98c1edeec20445cd6a19e3 /clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp
parentd544aa79c94502ffe3ddd4771503d00e14d2995e (diff)
downloadbcm5719-llvm-59d93af4a55897b99873225249692cc7d8fe5969.tar.gz
bcm5719-llvm-59d93af4a55897b99873225249692cc7d8fe5969.zip
clang-apply-replacements: Add code formatting functionality
The tool now supports a collection of arguments to turn on and provide settings for the formatting of code affected by applying replacements: * --format turns on formatting (default style is LLVM) * --style controls code style settings * --style-config allows one to explicitly indicate where a style config file lives. The libclangApplyReplacements interface has a new function to turn Replacements into Ranges to be used with tooling::reformat(). llvm-svn: 191667
Diffstat (limited to 'clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp')
-rw-r--r--clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp b/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp
index 9e2add09734..b6ad4af6876 100644
--- a/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp
+++ b/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp
@@ -9,7 +9,7 @@
#include "Core/IncludeDirectives.h"
#include "gtest/gtest.h"
-#include "VirtualFileHelper.h"
+#include "common/VirtualFileHelper.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/FrontendActions.h"
#include "llvm/Support/Path.h"
OpenPOWER on IntegriCloud