Skip to content

Commit 61c21b5

Browse files
committed
Post-merge fixes
1 parent f15847f commit 61c21b5

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

flang/include/flang/Semantics/semantics.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@
1111

1212
#include "scope.h"
1313
#include "symbol.h"
14-
#include "flang/Common/Fortran-features.h"
15-
#include "flang/Common/LangOptions.h"
1614
#include "flang/Evaluate/common.h"
1715
#include "flang/Evaluate/intrinsics.h"
1816
#include "flang/Evaluate/target.h"
1917
#include "flang/Parser/message.h"
2018
#include "flang/Semantics/module-dependences.h"
2119
#include "flang/Support/Fortran-features.h"
20+
#include "flang/Support/LangOptions.h"
2221
#include <iosfwd>
2322
#include <set>
2423
#include <string>

flang/include/flang/Support/LangOptions.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ class LangOptionsBase {
3737

3838
#define LANGOPT(Name, Bits, Default) unsigned Name : Bits;
3939
#define ENUM_LANGOPT(Name, Type, Bits, Default)
40-
#include "flang/Common/LangOptions.def"
40+
#include "flang/Support/LangOptions.def"
4141

4242
protected:
4343
#define LANGOPT(Name, Bits, Default)
4444
#define ENUM_LANGOPT(Name, Type, Bits, Default) unsigned Name : Bits;
45-
#include "flang/Common/LangOptions.def"
45+
#include "flang/Support/LangOptions.def"
4646
};
4747

4848
/// Tracks various options which control the dialect of Fortran that is
@@ -55,7 +55,7 @@ class LangOptions : public LangOptionsBase {
5555
#define ENUM_LANGOPT(Name, Type, Bits, Default) \
5656
Type get##Name() const { return static_cast<Type>(Name); } \
5757
void set##Name(Type Value) { Name = static_cast<unsigned>(Value); }
58-
#include "flang/Common/LangOptions.def"
58+
#include "flang/Support/LangOptions.def"
5959

6060
/// Name of the IR file that contains the result of the OpenMP target
6161
/// host code generation.

flang/lib/Support/LangOptions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include "flang/Common/LangOptions.h"
13+
#include "flang/Support/LangOptions.h"
1414
#include <string.h>
1515

1616
namespace Fortran::common {
1717

1818
LangOptions::LangOptions() {
1919
#define LANGOPT(Name, Bits, Default) Name = Default;
2020
#define ENUM_LANGOPT(Name, Type, Bits, Default) set##Name(Default);
21-
#include "flang/Common/LangOptions.def"
21+
#include "flang/Support/LangOptions.def"
2222
}
2323

2424
} // end namespace Fortran::common

0 commit comments

Comments
 (0)