[clang-tools-extra] d4a6513 - try to fix build more after 16544cbe64b8

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


Author: Nico Weber
Date: 2022-09-28T15:35:46-04:00
New Revision: d4a6513aeffac6b0fc30895714c5b421a3e0757d

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

LOG: try to fix build more after 16544cbe64b8

Added: 
    

Modified: 
    clang-tools-extra/clang-include-fixer/SymbolIndexManager.cpp
    clang-tools-extra/clangd/index/Symbol.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-include-fixer/SymbolIndexManager.cpp b/clang-tools-extra/clang-include-fixer/SymbolIndexManager.cpp
index 95b5ed0a8b1a..952c5fdedc29 100644
--- a/clang-tools-extra/clang-include-fixer/SymbolIndexManager.cpp
+++ b/clang-tools-extra/clang-include-fixer/SymbolIndexManager.cpp
@@ -7,6 +7,9 @@
 //===----------------------------------------------------------------------===//
 
 #include "SymbolIndexManager.h"
+
+#include <cmath>
+
 #include "find-all-symbols/SymbolInfo.h"
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/SmallVector.h"

diff  --git a/clang-tools-extra/clangd/index/Symbol.cpp b/clang-tools-extra/clangd/index/Symbol.cpp
index 55d61826097d..365aceec5125 100644
--- a/clang-tools-extra/clangd/index/Symbol.cpp
+++ b/clang-tools-extra/clangd/index/Symbol.cpp
@@ -8,6 +8,8 @@
 
 #include "Symbol.h"
 
+#include <cmath>
+
 namespace clang {
 namespace clangd {
 


        


More information about the cfe-commits mailing list