Format test case properly
This commit is contained in:
parent
afebd59684
commit
a5bcb853b9
|
@ -12,4 +12,3 @@
|
||||||
namespace ns2 {
|
namespace ns2 {
|
||||||
using ns::symbol;
|
using ns::symbol;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,5 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
namespace ns {
|
namespace ns {
|
||||||
void symbol();
|
void symbol();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// that we are required to include both the file with the original symbol and
|
// that we are required to include both the file with the original symbol and
|
||||||
// the file with the using decl.
|
// the file with the using decl.
|
||||||
|
|
||||||
#include "using_aliased_symbol-alias.h"
|
#include "tests/cxx/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.
|
// IWYU: ns::symbol is defined in ...*using_aliased_symbol-declare.h", which isn't directly #included.
|
||||||
|
@ -29,7 +29,7 @@ tests/cxx/using_aliased_symbol.cc should add these lines:
|
||||||
tests/cxx/using_aliased_symbol.cc should remove these lines:
|
tests/cxx/using_aliased_symbol.cc should remove these lines:
|
||||||
|
|
||||||
The full include-list for tests/cxx/using_aliased_symbol.cc:
|
The full include-list for tests/cxx/using_aliased_symbol.cc:
|
||||||
|
#include "tests/cxx/using_aliased_symbol-alias.h" // for symbol
|
||||||
#include "tests/cxx/using_aliased_symbol-declare.h" // for symbol
|
#include "tests/cxx/using_aliased_symbol-declare.h" // for symbol
|
||||||
#include "using_aliased_symbol-alias.h" // for symbol
|
|
||||||
|
|
||||||
***** IWYU_SUMMARY */
|
***** IWYU_SUMMARY */
|
||||||
|
|
Loading…
Reference in New Issue