Changeset 257a8f5 for src/AST/Print.hpp


Ignore:
Timestamp:
Feb 22, 2023, 5:47:11 PM (20 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
aca0d2f
Parents:
640b3df
Message:

Made some of the AST/Print helpers public.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Print.hpp

    r640b3df r257a8f5  
    1616#pragma once
    1717
    18 #include <iostream>
    19 #include <utility>   // for forward
     18#include <iosfwd>
    2019
    21 #include "AST/Node.hpp"
     20#include "AST/Fwd.hpp"
    2221#include "Common/Indenter.h"
    2322
    2423namespace ast {
    25 
    26 class Decl;
    2724
    2825/// Print a node with the given indenter
     
    4441}
    4542
     43/// Print each cv-qualifier used in the set, followed by a space.
     44void print( std::ostream & os, CV::Qualifiers );
     45/// Print each function specifier used in the set, followed by a space.
     46void print( std::ostream & os, Function::Specs );
     47/// Print each storage class used in the set, followed by a space.
     48void print( std::ostream & os, Storage::Classes );
     49
    4650}
Note: See TracChangeset for help on using the changeset viewer.