diff options
author | Anders Carlsson <andersca@mac.com> | 2009-08-26 22:31:44 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-08-26 22:31:44 +0000 |
commit | 022fb28d79829c40c9b3a3bdd400dcacea495e26 (patch) | |
tree | cf05181ecd81289ff6f3787f18d5bd2c67d1afa5 /include/clang/Basic/PartialDiagnostic.h | |
parent | 1feade8e520be483293dbf55eb57a51720899589 (diff) |
The PartialDiagnostic constructor doesn't need to be explicit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/PartialDiagnostic.h')
-rw-r--r-- | include/clang/Basic/PartialDiagnostic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/PartialDiagnostic.h b/include/clang/Basic/PartialDiagnostic.h index 99069839c4..6a6e6128ff 100644 --- a/include/clang/Basic/PartialDiagnostic.h +++ b/include/clang/Basic/PartialDiagnostic.h @@ -84,7 +84,7 @@ class PartialDiagnostic { void operator=(const PartialDiagnostic &); // DO NOT IMPLEMENT public: - explicit PartialDiagnostic(unsigned DiagID) + PartialDiagnostic(unsigned DiagID) : DiagID(DiagID), DiagStorage(0) { } PartialDiagnostic(const PartialDiagnostic &Other) |