Skip to content

Commit fc23e93

Browse files
committed
Revert include of "clang/Basic/CharInfo.h" in Driver.cpp
Because `scanInputForCXX20ModuleUsage` has been moved out of Driver.cpp, including "CharInfo.h" here is not required anymore. (This also fixes formatting in one comment).
1 parent ab88580 commit fc23e93

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

clang/include/clang/Lex/DependencyDirectivesScanner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void printDependencyDirectivesAsSource(
140140
///
141141
/// \param Source The input source buffer.
142142
///
143-
/// \returns true if any C++20 named modules related directive was found.
143+
/// \returns true if any C++20 named modules related directive was found.
144144
bool scanInputForCXX20ModulesUsage(StringRef Source);
145145

146146
/// Functor that returns the dependency directives for a given file.

clang/lib/Driver/Driver.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
#include "ToolChains/WebAssembly.h"
5353
#include "ToolChains/XCore.h"
5454
#include "ToolChains/ZOS.h"
55-
#include "clang/Basic/CharInfo.h"
5655
#include "clang/Basic/DiagnosticDriver.h"
5756
#include "clang/Basic/TargetID.h"
5857
#include "clang/Basic/Version.h"

0 commit comments

Comments
 (0)