From 1851f17e29aa17c6356a28ed2545184e4f90dd60 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Fri, 27 Oct 2023 03:16:48 -0700 Subject: [PATCH] fix: indentation and unnecessary imports --- CMakeLists.txt | 2 +- src/explicit_thisptr.cpp | 3 --- src/explicit_thisptr.hpp | 1 - src/lib.cpp | 2 -- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d9196e6..92842bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ add_compile_options(-Wall -Wextra) # nix workaround if (CMAKE_EXPORT_COMPILE_COMMANDS) - set(CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES}) + set(CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES}) endif() find_package(Clang REQUIRED) diff --git a/src/explicit_thisptr.cpp b/src/explicit_thisptr.cpp index 5a28aa2..74da349 100644 --- a/src/explicit_thisptr.cpp +++ b/src/explicit_thisptr.cpp @@ -1,8 +1,5 @@ #include "explicit_thisptr.hpp" -#include -#include - namespace clang::tidy::tidyfox { using namespace ast_matchers; diff --git a/src/explicit_thisptr.hpp b/src/explicit_thisptr.hpp index 3c90629..10cbf7b 100644 --- a/src/explicit_thisptr.hpp +++ b/src/explicit_thisptr.hpp @@ -1,7 +1,6 @@ #pragma once #include -#include namespace clang::tidy::tidyfox { diff --git a/src/lib.cpp b/src/lib.cpp index 0c884b2..7a72da4 100644 --- a/src/lib.cpp +++ b/src/lib.cpp @@ -1,5 +1,3 @@ -#include - #include #include