forked from OSchip/llvm-project
[clang] Fix -Wsubobject-linkage after D117262
/home/buildbot/llvm-avr-linux/llvm-avr-linux/llvm/clang/lib/CodeGen/Address.h:76:7: warning: 'clang::CodeGen::Address' has a field 'clang::CodeGen::Address::A' whose type uses the anonymous namespace [-Wsubobject-linkage] https://lab.llvm.org/buildbot/#/builders/112/builds/12047
This commit is contained in:
parent
ff52ef334b
commit
6a953d931c
|
@ -22,7 +22,6 @@
|
|||
namespace clang {
|
||||
namespace CodeGen {
|
||||
|
||||
namespace {
|
||||
// We try to save some space by using 6 bits over two PointerIntPairs to store
|
||||
// the alignment. However, some arches don't support 3 bits in a PointerIntPair
|
||||
// so we fallback to storing the alignment separately.
|
||||
|
@ -70,7 +69,6 @@ public:
|
|||
return CharUnits::fromQuantity(1UL << AlignLog);
|
||||
}
|
||||
};
|
||||
} // namespace
|
||||
|
||||
/// An aligned address.
|
||||
class Address {
|
||||
|
|
Loading…
Reference in New Issue