Skip to content

Commit 265a037

Browse files
committed
Fix for file renaming in LLVM (CommandFlags.h -> CommandFlags.def)
llvm-svn: 319084
1 parent fbff7fc commit 265a037

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lld/Common/TargetOptionsCommandFlags.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@
88
//===----------------------------------------------------------------------===//
99
//
1010
// This file exists as a place for global variables defined in LLVM's
11-
// CodeGen/CommandFlags.h. By putting the resulting object file in
11+
// CodeGen/CommandFlags.def. By putting the resulting object file in
1212
// an archive and linking with it, the definitions will automatically be
1313
// included when needed and skipped when already present.
1414
//
1515
//===----------------------------------------------------------------------===//
1616

1717
#include "lld/Common/TargetOptionsCommandFlags.h"
1818

19-
#include "llvm/CodeGen/CommandFlags.h"
19+
#include "llvm/CodeGen/CommandFlags.def"
2020
#include "llvm/Target/TargetOptions.h"
2121

2222
// Define an externally visible version of
2323
// InitTargetOptionsFromCodeGenFlags, so that its functionality can be
24-
// used without having to include llvm/CodeGen/CommandFlags.h, which
24+
// used without having to include llvm/CodeGen/CommandFlags.def, which
2525
// would lead to multiple definitions of the command line flags.
2626
llvm::TargetOptions lld::InitTargetOptionsFromCodeGenFlags() {
2727
return ::InitTargetOptionsFromCodeGenFlags();

0 commit comments

Comments
 (0)