[clang-tools-extra] r187346 - Fix build error caused by r187345.

Hans Wennborg hans at chromium.org
Wed Jul 31 15:31:31 PDT 2013


On Mon, Jul 29, 2013 at 1:43 AM, Daniel Jasper <djasper at google.com> wrote:
> Author: djasper
> Date: Mon Jul 29 03:43:57 2013
> New Revision: 187346
>
> URL: http://llvm.org/viewvc/llvm-project?rev=187346&view=rev
> Log:
> Fix build error caused by r187345.
>
> Modified:
>     clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp
>
> Modified: clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp
> URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp?rev=187346&r1=187345&r2=187346&view=diff
> ==============================================================================
> --- clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp (original)
> +++ clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp Mon Jul 29 03:43:57 2013
> @@ -16,8 +16,8 @@
>  //===----------------------------------------------------------------------===//
>
>  #include "../ClangTidy.h"
> -#include "clang/Driver/OptTable.h"
> -#include "clang/Driver/Options.h"
> +#include "llvm/Option/OptTable.h"
> +#include "llvm/Option/Option.h"
>  #include "llvm/Support/CommandLine.h"
>  #include <vector>

>From what I can tell, clang-tidy doesn't use the option parsing
library from llvm/Option/, so I just went ahead and killed those
#includes in r187536.

 - Hans



More information about the cfe-commits mailing list