clang API Documentation
#include "CodeGenTBAA.h"#include "clang/AST/ASTContext.h"#include "clang/AST/Attr.h"#include "clang/AST/Mangle.h"#include "clang/AST/RecordLayout.h"#include "clang/Frontend/CodeGenOptions.h"#include "llvm/ADT/SmallSet.h"#include "llvm/IR/Constants.h"#include "llvm/IR/LLVMContext.h"#include "llvm/IR/Metadata.h"#include "llvm/IR/Type.h"
Go to the source code of this file.
Functions | |
| static bool | TypeHasMayAlias (QualType QTy) |
| static bool | isTBAAPathStruct (QualType QTy) |
| Check if the given type can be handled by path-aware TBAA. | |
| static bool isTBAAPathStruct | ( | QualType | QTy | ) | [static] |
Check if the given type can be handled by path-aware TBAA.
Definition at line 228 of file CodeGenTBAA.cpp.
References clang::Type::getAs(), clang::RecordDecl::getDefinition(), clang::RecordDecl::hasFlexibleArrayMember(), clang::TagDecl::isClass(), and clang::TagDecl::isStruct().
Referenced by clang::CodeGen::CodeGenTBAA::getTBAAStructTagInfo(), and clang::CodeGen::CodeGenTBAA::getTBAAStructTypeInfo().
| static bool TypeHasMayAlias | ( | QualType | QTy | ) | [static] |
Definition at line 71 of file CodeGenTBAA.cpp.
Referenced by clang::CodeGen::CodeGenTBAA::getTBAAInfo(), and clang::CodeGen::CodeGenTBAA::getTBAAStructInfo().