Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/analysis/ast_analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use syntax::ast::*;
use analysis::sem_rep::*;
use analysis::trav_monad::*;
use analysis::def_table::*;
use analysis::decl_analysis::{analyseTypeDecl, analyseTypeDef, StorageSpec, StaticSpec, ExternSpec, analyseVarDecl_q, VarDeclInfo};
use analysis::decl_analysis::{analyseTypeDecl, StorageSpec, StaticSpec, ExternSpec, analyseVarDecl_q, VarDeclInfo};
use data::node::NodeInfo;
use data::ident::Ident;
use analysis::type_utils::*;
Expand Down
240 changes: 118 additions & 122 deletions src/analysis/builtins.rs

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions src/analysis/decl_analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use syntax::ast::*;
use analysis::trav_monad::*;
use analysis::sem_rep::*;
use data::node::*;
use analysis::sem_error::*;
use analysis::sem_error::*;
use data::ident::*;

pub fn tParamDecl(_0: CDecl) -> m<ParamDecl> {
Expand Down Expand Up @@ -502,10 +502,10 @@ pub fn tArraySize(_0: CArrSize) -> m<ArraySize> {
pub fn tTypeQuals() -> m<(TypeQuals, Attributes)> {

let go = |_0, _1| match (_0, _1) {
(CConstQual(_), (tq, attrs)) => (__assign!(tq, TODO { constant: true }), attrs),
(CVolatQual(_), (tq, attrs)) => (__assign!(tq, TODO { volatile: true }), attrs),
(CRestrQual(_), (tq, attrs)) => (__assign!(tq, TODO { restrict: true }), attrs),
(CAtomicQual(_), (tq, attrs)) => (__assign!(tq, TODO { atomic: true }), attrs),
(CConstQual(_), (tq, attrs)) => (__assign!(tq, /*TODO*/ { constant: true }), attrs),
(CVolatQual(_), (tq, attrs)) => (__assign!(tq, /*TODO*/ { volatile: true }), attrs),
(CRestrQual(_), (tq, attrs)) => (__assign!(tq, /*TODO*/ { restrict: true }), attrs),
(CAtomicQual(_), (tq, attrs)) => (__assign!(tq, /*TODO*/ { atomic: true }), attrs),
(CAttrQual(attr), (tq, attrs)) => {
liftM((|attr_q| (tq, __op_concat(attr_q, attrs))), (tAttr(attr)))
}
Expand Down
Loading