forked from OSchip/llvm-project
Move global classes into anonymous namespaces. NFC.
llvm-svn: 251528
This commit is contained in:
parent
c3e3144df2
commit
5b4296af77
|
@ -2207,6 +2207,7 @@ enum AccessKinds {
|
|||
AK_Decrement
|
||||
};
|
||||
|
||||
namespace {
|
||||
/// A handle to a complete object (an object that is not a subobject of
|
||||
/// another object).
|
||||
struct CompleteObject {
|
||||
|
@ -2223,6 +2224,7 @@ struct CompleteObject {
|
|||
|
||||
explicit operator bool() const { return Value; }
|
||||
};
|
||||
} // end anonymous namespace
|
||||
|
||||
/// Find the designated sub-object of an rvalue.
|
||||
template<typename SubobjectHandler>
|
||||
|
|
|
@ -2847,8 +2847,6 @@ struct DestroyUnpassedArg final : EHScopeStack::Cleanup {
|
|||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
struct DisableDebugLocationUpdates {
|
||||
CodeGenFunction &CGF;
|
||||
bool disabledDebugInfo;
|
||||
|
@ -2862,6 +2860,8 @@ struct DisableDebugLocationUpdates {
|
|||
}
|
||||
};
|
||||
|
||||
} // end anonymous namespace
|
||||
|
||||
void CodeGenFunction::EmitCallArg(CallArgList &args, const Expr *E,
|
||||
QualType type) {
|
||||
DisableDebugLocationUpdates Dis(*this, E);
|
||||
|
|
Loading…
Reference in New Issue