소스 검색

Fix missing APSInt include. (#3107)

Works by chance right now, but should be expected to break in future
LLVM versions.

The builtin kind include is removed as unused.
Jon Ross-Perkins 2 년 전
부모
커밋
2e290b9e73
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      toolchain/semantics/semantics_handle_index.cpp

+ 1 - 1
toolchain/semantics/semantics_handle_index.cpp

@@ -2,7 +2,7 @@
 // Exceptions. See /LICENSE for license information.
 // Exceptions. See /LICENSE for license information.
 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
-#include "toolchain/semantics/semantics_builtin_kind.h"
+#include "llvm/ADT/APSInt.h"
 #include "toolchain/semantics/semantics_context.h"
 #include "toolchain/semantics/semantics_context.h"
 #include "toolchain/semantics/semantics_node.h"
 #include "toolchain/semantics/semantics_node.h"
 #include "toolchain/semantics/semantics_node_kind.h"
 #include "toolchain/semantics/semantics_node_kind.h"