// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef FORTRAN_FORMAT_SPECIFICATION_H_
-#define FORTRAN_FORMAT_SPECIFICATION_H_
+#ifndef FORTRAN_PARSER_FORMAT_SPECIFICATION_H_
+#define FORTRAN_PARSER_FORMAT_SPECIFICATION_H_
// Represent parses of Fortran format specifications from FORMAT statements
// and character literals in formatted I/O statements at compilation time
};
} // namespace format
} // namespace Fortran
-#endif // FORTRAN_FORMAT_SPECIFICATION_H_
+#endif // FORTRAN_PARSER_FORMAT_SPECIFICATION_H_
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef FLANG_SUPPORT_GET_VALUE_H
+#ifndef FORTRAN_SEMANTICS_GETVALUE_H_
+#define FORTRAN_SEMANTICS_GETVALUE_H_
#undef IGNORE_optional
#undef IGNORE_Statement
#include "GetValue.def"
#undef IGNORE_DefaultChar
-#endif
+#endif // FORTRAN_SEMANTICS_GETVALUE_H_
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef FORTRAN_LABEL_TABLE_H_
-#define FORTRAN_LABEL_TABLE_H_
+#ifndef FORTRAN_SEMANTICS_LABELTABLE_H_
+#define FORTRAN_SEMANTICS_LABELTABLE_H_
#include <cassert>
#include <stack>
} // of namespace Fortran::semantics
-#endif // FORTRAN_LABEL_TABLE_H_
+#endif // FORTRAN_SEMANTICS_LABELTABLE_H_
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef FLANG_SEMA_PARSE_TREE_DUMP_H
-#define FLANG_SEMA_PARSE_TREE_DUMP_H
+#ifndef FORTRAN_SEMANTICS_PARSETREEDUMP_H_
+#define FORTRAN_SEMANTICS_PARSETREEDUMP_H_
#include "symbol.h"
#include "../parser/format-specification.h"
} // of namespace
-#endif
+#endif // FORTRAN_SEMANTICS_PARSETREEDUMP_H_
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef FORTRAN_SEMA_DATA_H_
-#define FORTRAN_SEMA_DATA_H_
+#ifndef FORTRAN_SEMANTICS_SEMANTICDATA_H_
+#define FORTRAN_SEMANTICS_SEMANTICDATA_H_
#include <cassert>
} // of namespace Fortran::semantics
-#endif // FORTRAN_SEMA_DATA_H_
+#endif // FORTRAN_SEMANTICS_SEMANTICDATA_H_
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef FLANG_SEMA_STATEMENT_MAP_H
-#define FLANG_SEMA_STATEMENT_MAP_H
+#ifndef FORTRAN_SEMANTICS_STATEMENTMAP_H_
+#define FORTRAN_SEMANTICS_STATEMENTMAP_H_
#include "Stmt.h"
#include <functional>
} // namespace Fortran::semantics
-#endif // of FLANG_SEMA_STATEMENT_MAP_H
+#endif // FORTRAN_SEMANTICS_STATEMENTMAP_H_
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef FLANG_SEMA_STMT_H_
-#define FLANG_SEMA_STMT_H_
+#ifndef FORTRAN_SEMANTICS_STMT_H_
+#define FORTRAN_SEMANTICS_STMT_H_
#include "../parser/parse-tree.h"
#include <variant>
} // end of namespace Fortran::semantics
-#endif // of FLANG_SEMA_STMT_H_
+#endif // FORTRAN_SEMANTICS_STMT_H_
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef FORTRAN_ATTR_H_
-#define FORTRAN_ATTR_H_
+#ifndef FORTRAN_SEMANTICS_ATTR_H_
+#define FORTRAN_SEMANTICS_ATTR_H_
#include "enum-set.h"
#include "../parser/idioms.h"
std::ostream &operator<<(std::ostream &o, const Attrs &attrs);
} // namespace semantics
} // namespace Fortran
-#endif
+#endif // FORTRAN_SEMANTICS_ATTR_H_
// See the License for the specific language governing permissions and
// limitations under the License.
+#ifndef FORTRAN_SEMANTICS_RESOLVE_NAMES_H_
+#define FORTRAN_SEMANTICS_RESOLVE_NAMES_H_
+
#include <iosfwd>
namespace Fortran::parser {
void DumpSymbols(std::ostream &);
} // namespace Fortran::semantics
+
+#endif // FORTRAN_SEMANTICS_RESOLVE_NAMES_H_
// See the License for the specific language governing permissions and
// limitations under the License.
+#ifndef FORTRAN_SEMANTICS_REWRITE_PARSE_TREE_H_
+#define FORTRAN_SEMANTICS_REWRITE_PARSE_TREE_H_
+
namespace Fortran::parser {
struct Program;
} // namespace Fortran::parser
namespace Fortran::semantics {
void RewriteParseTree(parser::Program &);
} // namespace Fortran::semantics
+
+#endif // FORTRAN_SEMANTICS_REWRITE_PARSE_TREE_H_
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef FORTRAN_TYPE_H_
-#define FORTRAN_TYPE_H_
+#ifndef FORTRAN_SEMANTICS_TYPE_H_
+#define FORTRAN_SEMANTICS_TYPE_H_
#include "attr.h"
#include "../parser/idioms.h"
} // namespace semantics
} // namespace Fortran
-#endif
+#endif // FORTRAN_SEMANTICS_TYPE_H_