diff options
author | John McCall <rjmccall@apple.com> | 2010-03-16 05:22:47 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-03-16 05:22:47 +0000 |
commit | 58e6f34e4d2c668562e1c391162ee9de7b05fbb2 (patch) | |
tree | dcba0bf9178f1decf1c99b1ee115f0e9534d23d8 /include/clang/Basic/PartialDiagnostic.h | |
parent | 50f6af7a6d6951a63f3da7d4c5a7d3965bf73b63 (diff) |
Perform access control for the implicit base and member destructor calls
required when emitting a destructor definition.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/PartialDiagnostic.h')
-rw-r--r-- | include/clang/Basic/PartialDiagnostic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Basic/PartialDiagnostic.h b/include/clang/Basic/PartialDiagnostic.h index 873aaeecb6..fb861dcf93 100644 --- a/include/clang/Basic/PartialDiagnostic.h +++ b/include/clang/Basic/PartialDiagnostic.h @@ -69,6 +69,10 @@ class PartialDiagnostic { CodeModificationHint CodeModificationHints[MaxCodeModificationHints]; }; + // NOTE: Sema assumes that PartialDiagnostic is location-invariant + // in the sense that its bits can be safely memcpy'ed and destructed + // in the new location. + /// DiagID - The diagnostic ID. mutable unsigned DiagID; |