[clang-tools-extra] 74bab7d - try to fix build after 16544cbe64b8

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 28 12:18:30 PDT 2022


Author: Nico Weber
Date: 2022-09-28T15:18:15-04:00
New Revision: 74bab7d4a075a69b4d012ea7b91a0a4bd4822ad9

URL: https://github.com/llvm/llvm-project/commit/74bab7d4a075a69b4d012ea7b91a0a4bd4822ad9
DIFF: https://github.com/llvm/llvm-project/commit/74bab7d4a075a69b4d012ea7b91a0a4bd4822ad9.diff

LOG: try to fix build after 16544cbe64b8

Added: 
    

Modified: 
    clang-tools-extra/clang-tidy/abseil/DurationRewriter.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-tidy/abseil/DurationRewriter.cpp b/clang-tools-extra/clang-tidy/abseil/DurationRewriter.cpp
index 671ed65d3c578..68e8bcf50c365 100644
--- a/clang-tools-extra/clang-tidy/abseil/DurationRewriter.cpp
+++ b/clang-tools-extra/clang-tidy/abseil/DurationRewriter.cpp
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include <cmath>
+
 #include "DurationRewriter.h"
 #include "clang/Tooling/FixIt.h"
 #include "llvm/ADT/IndexedMap.h"


        


More information about the cfe-commits mailing list