#include "AstCommon.hpp"#include <antlr/ASTFactory.hpp>#include <antlr/RecognitionException.hpp>#include "GccIntegerAttribute.hpp"#include "CTokenTypes.hpp"#include "Environment.hpp"#include "BasicType.hpp"#include "PointerType.hpp"#include "FunctionType.hpp"#include "ArrayType.hpp"#include "StructType.hpp"#include "UnionType.hpp"#include "EnumType.hpp"#include "VectorType.hpp"#include "TypedefType.hpp"#include "CFrontError.hpp"#include <cassert>#include <sstream>#include <vector>#include <climits>

Go to the source code of this file.
Namespaces | |
| namespace | cfront |
Data Structures | |
| class | cfront::EvalFailedException |
| struct | cfront::DeclSpec |
| class | cfront::CAnalyzer |
Defines | |
| #define | MERGE_QFS(t, qf) (t)->setQualFlags((t)->getQualFlags() | (qf)) |
| #define | SIGNED_UNSIGNED_CONV_LONG(ta, tb, bta) |
| #define | SIGNED_UNSIGNED_CONV_INT(ta, tb, bta) |
Typedefs | |
| typedef std::vector< Extension * > | cfront::Attributes |
| typedef long long int | cfront::eint |
Enumerations | |
| enum | cfront::PpuVectorExtTag { cfront::ALTIVEC_NONE, cfront::ALTIVEC_VECTOR, cfront::ALTIVEC_PIXEL, cfront::ALTIVEC_BOOL } |
| enum | cfront::AssignmentErrorTag { cfront::ASSIGN_ERR_NO_ERROR, cfront::ASSIGN_ERR_CONST, cfront::ASSIGN_ERR_INCOMPATIBLE, cfront::ASSIGN_ERR_INCOMPATIBLE_POINTER, cfront::ASSIGN_ERR_POINTER_FROM_INTEGER, cfront::ASSIGN_ERR_INTEGER_FROM_POINTER } |
| #define MERGE_QFS | ( | t, | |||
| qf | ) | (t)->setQualFlags((t)->getQualFlags() | (qf)) |
Referenced by cfront::CAnalyzer::addQualifier().
| #define SIGNED_UNSIGNED_CONV_INT | ( | ta, | |||
| tb, | |||||
| bta | ) |
Value:
do { \ if (ta == BasicType::SLONG) { \ if (tb == BasicType::UINT && \ (targetInfo_->getSize(TargetInfo::LONG) == \ targetInfo_->getSize(TargetInfo::INT))) { \ return BasicType::ULONG; \ } else { \ return ta; \ } \ } \ } while (0)
Referenced by cfront::CAnalyzer::typeBinaryExpr().
| #define SIGNED_UNSIGNED_CONV_LONG | ( | ta, | |||
| tb, | |||||
| bta | ) |
Value:
do { \ if (ta == BasicType::SLLONG) { \ if (tb == BasicType::ULONG && \ (targetInfo_->getSize(TargetInfo::LLONG) == \ targetInfo_->getSize(TargetInfo::LONG))) { \ return BasicType::ULLONG; \ } else { \ return ta; \ } \ } \ } while (0)
Referenced by cfront::CAnalyzer::typeBinaryExpr().
1.5.6