clang 24.0.0git
GtestModelHelpers.h
Go to the documentation of this file.
1//===-- GtestModelHelpers.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// This file defines helpers for handling gtest constructs in dataflow models.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef CLANG_ANALYSIS_FLOWSENSITIVE_MODELS_GTESTMODELHELPERS_H
14#define CLANG_ANALYSIS_FLOWSENSITIVE_MODELS_GTESTMODELHELPERS_H
15
16#include "clang/AST/Expr.h"
17#include "clang/AST/ExprCXX.h"
21#include <cassert>
22
23namespace clang {
24namespace dataflow {
33} // namespace dataflow
34} // namespace clang
35
36#endif // CLANG_ANALYSIS_FLOWSENSITIVE_MODELS_GTESTMODELHELPERS_H
Defines the clang::Expr interface and subclasses for C++ expressions.
Represents a call to a member function that may be written either with member call syntax (e....
Definition ExprCXX.h:184
This represents one expression.
Definition Expr.h:113
Holds the state of the program (store and heap) at a given program point.
A storage location for a record (struct, class, or union).
Base class for elements of the local variable store and of the heap.
internal::Matcher< Stmt > StatementMatcher
void transferAssertionResultExpectationOperatorBoolCall(const CXXMemberCallExpr *Expr, Environment &Env, llvm::function_ref< StorageLocation &(RecordStorageLocation &)> GetOk)
clang::ast_matchers::StatementMatcher isAssertionResultExpectationOperatorBoolCall()
Top level wrappers for InstallAPI frontend operations.