From e0a7d9cefffeea97c2d922afdd8a373b329135e3 Mon Sep 17 00:00:00 2001 From: Edwin Vane Date: Thu, 13 Jun 2013 16:00:46 +0000 Subject: cpp11-migrate: Replace file override container A more flexible container for storing overrides is required for headers. Before a source goes through the transform pipeline, any headers it references will be in their original state and unaffected by transforms applied to other sources. Therefore overrides for headers need to be kept separate for each source file. This patch doesn't introduce support for storing header overrides yet. It only replaces the existing structure and makes any necessary changes to support it. llvm-svn: 183910 --- clang-tools-extra/unittests/cpp11-migrate/PerfSupportTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'clang-tools-extra/unittests/cpp11-migrate/PerfSupportTest.cpp') diff --git a/clang-tools-extra/unittests/cpp11-migrate/PerfSupportTest.cpp b/clang-tools-extra/unittests/cpp11-migrate/PerfSupportTest.cpp index 21f296068fe..f947b10ca8e 100644 --- a/clang-tools-extra/unittests/cpp11-migrate/PerfSupportTest.cpp +++ b/clang-tools-extra/unittests/cpp11-migrate/PerfSupportTest.cpp @@ -9,9 +9,9 @@ public: TransformA(const TransformOptions &Options) : Transform("TransformA", Options) {} - virtual int apply(const FileContentsByPath &, + virtual int apply(const FileOverrides &, const tooling::CompilationDatabase &, - const std::vector &, FileContentsByPath &) { + const std::vector &, FileOverrides &) { return 0; } @@ -25,9 +25,9 @@ public: TransformB(const TransformOptions &Options) : Transform("TransformB", Options) {} - virtual int apply(const FileContentsByPath &, + virtual int apply(const FileOverrides &, const tooling::CompilationDatabase &, - const std::vector &, FileContentsByPath &) { + const std::vector &, FileOverrides &) { return 0; } -- cgit v1.2.3