Silence a gcc warning where it notices that default-constructing a class

doesn't initialize anything.

llvm-svn: 85533
This commit is contained in:
John McCall 2009-10-29 23:20:43 +00:00
parent e6fb91f2cb
commit 314681a338
1 changed files with 1 additions and 1 deletions

View File

@ -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.