source: src/SymTab/TypeEquality.h @ 76f2bdcb

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newwith_gc
Last change on this file since 76f2bdcb was cc79d97, checked in by Rob Schluntz <rschlunt@…>, 7 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.