Clean out IWYU pragma comments in IWYU itself
None of these pragmas are necessary at this point.
This commit is contained in:
parent
35effcf918
commit
d7e4a20e8f
5
iwyu.cc
5
iwyu.cc
|
@ -109,10 +109,7 @@
|
|||
#include "iwyu_output.h"
|
||||
#include "iwyu_path_util.h"
|
||||
#include "iwyu_port.h" // for CHECK_
|
||||
// This is needed for
|
||||
// preprocessor_info().PublicHeaderIntendsToProvide(). Somehow IWYU
|
||||
// removes it mistakenly.
|
||||
#include "iwyu_preprocessor.h" // IWYU pragma: keep
|
||||
#include "iwyu_preprocessor.h"
|
||||
#include "iwyu_stl_util.h"
|
||||
#include "iwyu_string_util.h"
|
||||
#include "iwyu_use_flags.h"
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h" // IWYU pragma: keep
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
|
|
|
@ -22,12 +22,10 @@
|
|||
#include "iwyu_include_picker.h"
|
||||
#include "iwyu_location_util.h"
|
||||
#include "iwyu_path_util.h"
|
||||
#include "iwyu_preprocessor.h" // IWYU pragma: keep
|
||||
#include "iwyu_preprocessor.h"
|
||||
#include "iwyu_stl_util.h"
|
||||
#include "iwyu_string_util.h"
|
||||
#include "iwyu_verrs.h"
|
||||
// TODO(wan): remove this once the IWYU bug is fixed.
|
||||
// IWYU pragma: no_include "foo/bar/baz.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
|
|
|
@ -27,8 +27,6 @@
|
|||
#include "iwyu_stl_util.h"
|
||||
#include "iwyu_string_util.h"
|
||||
#include "iwyu_verrs.h"
|
||||
// TODO(wan): remove this once the IWYU bug is fixed.
|
||||
// IWYU pragma: no_include "foo/bar/baz.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "clang/Basic/IdentifierTable.h"
|
||||
#include "clang/Lex/MacroInfo.h"
|
||||
|
|
Loading…
Reference in New Issue