Skip to content

Commit 7ee7762

Browse files
committed
[NFC] Rename Option parsing related files from OptXYZ -> OptionXYZ
Rename option parsing related files from OptXYZ -> OptionXYZ, since Opt could be confused with optimization and Opt as a short hand for Option is not really that smaller to warrant its use.
1 parent cb52e8e commit 7ee7762

File tree

90 files changed

+146
-144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+146
-144
lines changed

clang-tools-extra/modularize/Modularize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@
240240
#include "clang/Tooling/Tooling.h"
241241
#include "llvm/Option/Arg.h"
242242
#include "llvm/Option/ArgList.h"
243-
#include "llvm/Option/OptTable.h"
244243
#include "llvm/Option/Option.h"
244+
#include "llvm/Option/OptionTable.h"
245245
#include "llvm/Support/CommandLine.h"
246246
#include "llvm/Support/FileSystem.h"
247247
#include "llvm/Support/MemoryBuffer.h"

clang-tools-extra/pp-trace/PPTrace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
#include "clang/Tooling/Tooling.h"
3838
#include "llvm/Option/Arg.h"
3939
#include "llvm/Option/ArgList.h"
40-
#include "llvm/Option/OptTable.h"
4140
#include "llvm/Option/Option.h"
41+
#include "llvm/Option/OptionTable.h"
4242
#include "llvm/Support/CommandLine.h"
4343
#include "llvm/Support/FileSystem.h"
4444
#include "llvm/Support/GlobPattern.h"

clang/docs/InternalsManual.rst

Lines changed: 1 addition & 1 deletion

clang/include/clang/Driver/OptionUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#include "clang/Basic/Diagnostic.h"
1717
#include "clang/Basic/LLVM.h"
18-
#include "llvm/Option/OptSpecifier.h"
18+
#include "llvm/Option/OptionSpecifier.h"
1919

2020
namespace llvm {
2121

clang/include/clang/Driver/Options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#ifndef LLVM_CLANG_DRIVER_OPTIONS_H
1010
#define LLVM_CLANG_DRIVER_OPTIONS_H
1111

12-
#include "llvm/Option/OptTable.h"
1312
#include "llvm/Option/Option.h"
13+
#include "llvm/Option/OptionTable.h"
1414

1515
namespace clang {
1616
namespace driver {

clang/include/clang/Driver/Options.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
// Include the common option parsing interfaces.
14-
include "llvm/Option/OptParser.td"
14+
include "llvm/Option/OptionParser.td"
1515

1616
// When generating documentation, we expect there to be a GlobalDocumentation
1717
// def containing the program name that we are generating documentation for.

clang/lib/Driver/Compilation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
#include "llvm/ADT/STLExtras.h"
1919
#include "llvm/ADT/SmallVector.h"
2020
#include "llvm/Option/ArgList.h"
21-
#include "llvm/Option/OptSpecifier.h"
2221
#include "llvm/Option/Option.h"
22+
#include "llvm/Option/OptionSpecifier.h"
2323
#include "llvm/Support/FileSystem.h"
2424
#include "llvm/Support/raw_ostream.h"
2525
#include "llvm/TargetParser/Triple.h"

clang/lib/Driver/Driver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@
7575
#include "llvm/MC/TargetRegistry.h"
7676
#include "llvm/Option/Arg.h"
7777
#include "llvm/Option/ArgList.h"
78-
#include "llvm/Option/OptSpecifier.h"
79-
#include "llvm/Option/OptTable.h"
8078
#include "llvm/Option/Option.h"
79+
#include "llvm/Option/OptionSpecifier.h"
80+
#include "llvm/Option/OptionTable.h"
8181
#include "llvm/Support/CommandLine.h"
8282
#include "llvm/Support/ErrorHandling.h"
8383
#include "llvm/Support/ExitCodes.h"

clang/lib/Driver/DriverOptions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
#include "clang/Driver/Options.h"
1010
#include "llvm/ADT/STLExtras.h"
11-
#include "llvm/Option/OptTable.h"
1211
#include "llvm/Option/Option.h"
12+
#include "llvm/Option/OptionTable.h"
1313
#include <cassert>
1414

1515
using namespace clang::driver;

clang/lib/Driver/ToolChain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
#include "llvm/MC/TargetRegistry.h"
3636
#include "llvm/Option/Arg.h"
3737
#include "llvm/Option/ArgList.h"
38-
#include "llvm/Option/OptTable.h"
3938
#include "llvm/Option/Option.h"
39+
#include "llvm/Option/OptionTable.h"
4040
#include "llvm/Support/ErrorHandling.h"
4141
#include "llvm/Support/FileSystem.h"
4242
#include "llvm/Support/FileUtilities.h"

0 commit comments

Comments
 (0)