source: src/SymTab/TypeEquality.h@ e7aed49

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since e7aed49 was cc79d97, checked in by Rob Schluntz <rschlunt@…>, 10 years ago

incorrectly redefining a typedef will cause an error in most cases

  • Property mode set to 100644
File size: 688 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// TypeEquality.h --
8//
9// Author : Rob Schluntz
10// Created On : Tue Jul 07 16:30:07 2015
11// Last Modified By : Rob Schluntz
12// Last Modified On : Wed Jul 08 12:41:15 2015
13// Update Count : 6
14//
15
16namespace SymTab {
17 // compare types t1 and t2 for equality
18 // if vlaErr is true, then if at least one of the types is a
19 // variable-length array type, then the result will be false
20 bool typeEquals( Type * t1, Type * t2, bool vlaErr = false );
21} // namespace SymTab
Note: See TracBrowser for help on using the repository browser.