Skip to content

Commit

Permalink
Merge pull request chapel-lang#5332 from vasslitvinov/adjust-forall.h
Browse files Browse the repository at this point in the history
Header file shuffle

Mike's rule is that each header file must #include its dependencies
so that it is possible for a .cpp file to #include only that header.

This change brings forall.h in compliance with that rule.

Trivial, not reviewed.
  • Loading branch information
vasslitvinov authored Feb 9, 2017
2 parents 73eed64 + 32c0208 commit 982d9c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/AST/foralls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

// foralls.h, foralls.cpp - support for forall loops

#include "expr.h"
#include "foralls.h"
#include "astutil.h"
#include "stlUtil.h"
Expand Down
2 changes: 2 additions & 0 deletions compiler/include/foralls.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

//// foralls.h, foralls.cpp - support for forall loops ////

#include "expr.h"

//
// TFITag: a task or forall intent
//
Expand Down

0 comments on commit 982d9c2

Please sign in to comment.