Format all lines with trailing whitespace
This is the result of: git grep -n "\s$" | grep-format No functional change.
This commit is contained in:
parent
b65c4b63a7
commit
849c2a2f55
|
@ -660,8 +660,8 @@ void IwyuFileInfo::ReportFullSymbolUse(SourceLocation use_loc,
|
|||
void IwyuFileInfo::ReportFullSymbolUse(SourceLocation use_loc,
|
||||
const FileEntry* dfn_file,
|
||||
const string& symbol) {
|
||||
symbol_uses_.push_back(OneUse(symbol, dfn_file,
|
||||
GetFilePath(dfn_file), use_loc));
|
||||
symbol_uses_.push_back(
|
||||
OneUse(symbol, dfn_file, GetFilePath(dfn_file), use_loc));
|
||||
LogSymbolUse("Marked full-info use of symbol", symbol_uses_.back());
|
||||
}
|
||||
|
||||
|
|
|
@ -822,7 +822,7 @@ void IwyuPreprocessorInfo::FileChanged_ExitToFile(
|
|||
"begin_exports without an end_exports");
|
||||
begin_exports_location_stack_.pop();
|
||||
}
|
||||
|
||||
|
||||
if (HasOpenBeginKeep(exiting_from)) {
|
||||
Warn(begin_keep_location_stack_.top(),
|
||||
"begin_keep without an end_keep");
|
||||
|
|
|
@ -356,7 +356,7 @@ class IwyuPreprocessorInfo : public clang::PPCallbacks,
|
|||
// per file in the current inclusion chain..
|
||||
stack<clang::SourceLocation> begin_exports_location_stack_;
|
||||
|
||||
// For processing pragmas. It is the current stack of open "begin_keep"s.
|
||||
// For processing pragmas. It is the current stack of open "begin_keep"s.
|
||||
// There should be at most one item in this stack per file in the current
|
||||
// inclusion chain.
|
||||
stack<clang::SourceLocation> begin_keep_location_stack_;
|
||||
|
|
|
@ -61,7 +61,7 @@ class FakeClass7;
|
|||
|
||||
class AnotherFakeClass;
|
||||
|
||||
/**** IWYU_SUMMARY
|
||||
/**** IWYU_SUMMARY
|
||||
tests/cxx/pragma_keep_multi.cc should add these lines:
|
||||
|
||||
tests/cxx/pragma_keep_multi.cc should remove these lines:
|
||||
|
@ -86,4 +86,3 @@ class FakeClass7; // lines XX-XX
|
|||
class FakeClass; // lines XX-XX
|
||||
|
||||
***** IWYU_SUMMARY */
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include "using_aliased_symbol-alias.h"
|
||||
|
||||
void use_symbol() {
|
||||
void use_symbol() {
|
||||
// IWYU: ns::symbol is defined in ...*using_aliased_symbol-declare.h", which isn't directly #included.
|
||||
ns2::symbol();
|
||||
}
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
|
||||
#include "using_aliased_symbol-alias.h"
|
||||
|
||||
void not_use_symbol() {
|
||||
|
||||
void not_use_symbol() {
|
||||
}
|
||||
|
||||
/**** IWYU_SUMMARY
|
||||
|
|
|
@ -7,14 +7,14 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// Tests that when we use multiple function overloads through a using decl,
|
||||
// Tests that when we use multiple function overloads through a using decl,
|
||||
// that we correctly include all of the necessary files for the overload and
|
||||
// don't accidentally remove files greedily.
|
||||
|
||||
#include "using_overload-float.h"
|
||||
#include "using_overload-int.h"
|
||||
|
||||
void use_overload() {
|
||||
void use_overload() {
|
||||
int a = 1;
|
||||
int b = 2;
|
||||
float c = 1.f;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "using_overload-float.h"
|
||||
#include "using_overload-int.h"
|
||||
|
||||
void use_overload() {
|
||||
void use_overload() {
|
||||
int a = 1;
|
||||
int b = 2;
|
||||
using ns::add;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// Tests that when we import a name via a using statement, IWYU tells us we
|
||||
// Tests that when we import a name via a using statement, IWYU tells us we
|
||||
// need to include the original thing we're referencing, despite the fact that
|
||||
// it's not actually used.
|
||||
|
||||
|
|
Loading…
Reference in New Issue