diff options
Diffstat (limited to 'clang-tidy/cppcoreguidelines/MacroUsageCheck.h')
-rw-r--r-- | clang-tidy/cppcoreguidelines/MacroUsageCheck.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang-tidy/cppcoreguidelines/MacroUsageCheck.h b/clang-tidy/cppcoreguidelines/MacroUsageCheck.h index a39d55a2..978edd8e 100644 --- a/clang-tidy/cppcoreguidelines/MacroUsageCheck.h +++ b/clang-tidy/cppcoreguidelines/MacroUsageCheck.h @@ -1,9 +1,8 @@ //===--- MacroUsageCheck.h - clang-tidy--------------------------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// @@ -31,7 +30,8 @@ public: CheckCapsOnly(Options.get("CheckCapsOnly", 0)), IgnoreCommandLineMacros(Options.get("IgnoreCommandLineMacros", 1)) {} void storeOptions(ClangTidyOptions::OptionMap &Opts) override; - void registerPPCallbacks(CompilerInstance &Compiler) override; + void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP, + Preprocessor *ModuleExpanderPP) override; void warnMacro(const MacroDirective *MD, StringRef MacroName); void warnNaming(const MacroDirective *MD, StringRef MacroName); |