diff options
Diffstat (limited to 'clang-tidy/abseil/DurationSubtractionCheck.cpp')
-rw-r--r-- | clang-tidy/abseil/DurationSubtractionCheck.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang-tidy/abseil/DurationSubtractionCheck.cpp b/clang-tidy/abseil/DurationSubtractionCheck.cpp index db9d407b..32217144 100644 --- a/clang-tidy/abseil/DurationSubtractionCheck.cpp +++ b/clang-tidy/abseil/DurationSubtractionCheck.cpp @@ -1,9 +1,8 @@ //===--- DurationSubtractionCheck.cpp - clang-tidy ------------------------===// // -// 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 // //===----------------------------------------------------------------------===// @@ -38,7 +37,8 @@ void DurationSubtractionCheck::check(const MatchFinder::MatchResult &Result) { if (Binop->getExprLoc().isMacroID() || Binop->getExprLoc().isInvalid()) return; - llvm::Optional<DurationScale> Scale = getScaleForInverse(FuncDecl->getName()); + llvm::Optional<DurationScale> Scale = + getScaleForDurationInverse(FuncDecl->getName()); if (!Scale) return; |