LLDB mainline
Functions
ASTResultSynthesizer.cpp File Reference
#include "ASTResultSynthesizer.h"
#include "ClangASTImporter.h"
#include "ClangPersistentVariables.h"
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/LLDBAssert.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclGroup.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/Expr.h"
#include "clang/AST/Stmt.h"
#include "clang/Parse/Parser.h"
#include "clang/Sema/SemaDiagnostic.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdlib>

Go to the source code of this file.

Functions

static bool CanTakeAddressOfLValue (const Expr *lvalue_expr)
 Returns true if LLDB can take the address of the given lvalue for the sake of capturing the expression result.
 

Function Documentation

◆ CanTakeAddressOfLValue()

static bool CanTakeAddressOfLValue ( const Expr *  lvalue_expr)
static

Returns true if LLDB can take the address of the given lvalue for the sake of capturing the expression result.

Returns false if LLDB should instead store the expression result in a result variable.

Definition at line 203 of file ASTResultSynthesizer.cpp.

Referenced by lldb_private::ASTResultSynthesizer::SynthesizeBodyResult().