xref: /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/InterpShared.h (revision 700637cbb5e582861067a11aaca4d053546871d2)
1 //===--- InterpShared.h -----------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_CLANG_LIB_AST_INTERP_SHARED_H
10 #define LLVM_CLANG_LIB_AST_INTERP_SHARED_H
11 
12 #include "clang/Basic/LLVM.h"
13 #include "llvm/ADT/BitVector.h"
14 
15 namespace clang {
16 class FunctionDecl;
17 class Expr;
18 
19 namespace interp {
20 
21 llvm::BitVector collectNonNullArgs(const FunctionDecl *F,
22                                    ArrayRef<const Expr *> Args);
23 
24 } // namespace interp
25 } // namespace clang
26 
27 #endif
28