[cfe-commits] r118345 - /cfe/trunk/include/clang/Basic/Diagnostic.h
Argyrios Kyrtzidis
akyrtzi at gmail.com
Sat Nov 6 11:09:56 PDT 2010
Author: akirtzidis
Date: Sat Nov 6 13:09:55 2010
New Revision: 118345
URL: http://llvm.org/viewvc/llvm-project?rev=118345&view=rev
Log:
Add a comment.
Modified:
cfe/trunk/include/clang/Basic/Diagnostic.h
Modified: cfe/trunk/include/clang/Basic/Diagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Diagnostic.h?rev=118345&r1=118344&r2=118345&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Diagnostic.h (original)
+++ cfe/trunk/include/clang/Basic/Diagnostic.h Sat Nov 6 13:09:55 2010
@@ -215,7 +215,7 @@
unsigned char Values[diag::DIAG_UPPER_LIMIT/2];
public:
- DiagMappings() : Values() { }
+ DiagMappings() : Values() /*zero-initialization of array*/ { }
void setMapping(diag::kind Diag, unsigned Map) {
size_t Shift = (Diag & 1)*4;
More information about the cfe-commits
mailing list