[clang] a988373 - [clang] Fix include for 7ead2d8c7e

Dmitry Chernenkov via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 13 07:26:54 PDT 2024


Author: Dmitry Chernenkov
Date: 2024-06-13T14:26:23Z
New Revision: a9883739571f0adbe33219a74a934be7f8bd4f62

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

LOG: [clang] Fix include for 7ead2d8c7e

clang/lib/CodeGen/MCDCState.h:33:11: error: no template named 'SmallVector' in namespace 'llvm'
   33 |     llvm::SmallVector<std::array<int, 2>> Indices;
      |     ~~~~~~^

Added: 
    

Modified: 
    clang/lib/CodeGen/MCDCState.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/CodeGen/MCDCState.h b/clang/lib/CodeGen/MCDCState.h
index 32ef578f53c5f..e0dd28ff90ed1 100644
--- a/clang/lib/CodeGen/MCDCState.h
+++ b/clang/lib/CodeGen/MCDCState.h
@@ -14,6 +14,7 @@
 #define LLVM_CLANG_LIB_CODEGEN_MCDCSTATE_H
 
 #include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/SmallVector.h"
 #include "llvm/ProfileData/Coverage/MCDCTypes.h"
 
 namespace clang {


        


More information about the cfe-commits mailing list