diff options
author | John McCall <rjmccall@apple.com> | 2009-10-29 23:20:43 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-10-29 23:20:43 +0000 |
commit | 7c475ee1339c03e2d544a28aa9b8da393ce7d20c (patch) | |
tree | fafdb39372caa3c68cc509531272a2ccbab120d5 | |
parent | 2685eab9d36a3568b5d58fba13f0ecef6a611cf9 (diff) |
Silence a gcc warning where it notices that default-constructing a class
doesn't initialize anything.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85533 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/TypeLoc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/TypeLoc.h b/include/clang/AST/TypeLoc.h index b544bc37e8..2c3f51493f 100644 --- a/include/clang/AST/TypeLoc.h +++ b/include/clang/AST/TypeLoc.h @@ -901,7 +901,7 @@ public: setTemplateNameLoc(Loc); for (unsigned i = 0, e = getNumArgs(); i != e; ++i) { - TemplateArgumentLocInfo Info; + TemplateArgumentLocInfo Info = TemplateArgumentLocInfo(); #ifndef NDEBUG // If asserts are enabled, be sure to initialize the argument // loc with the right kind of pointer. |