[cfe-commits] r165546 - /cfe/trunk/include/clang/AST/TypeLoc.h
Benjamin Kramer
benny.kra at googlemail.com
Tue Oct 9 13:49:29 PDT 2012
Author: d0k
Date: Tue Oct 9 15:49:29 2012
New Revision: 165546
URL: http://llvm.org/viewvc/llvm-project?rev=165546&view=rev
Log:
Initialize the end loc in ObjCInterfaceTypeLoc.
Found by valgrind.
Modified:
cfe/trunk/include/clang/AST/TypeLoc.h
Modified: cfe/trunk/include/clang/AST/TypeLoc.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/TypeLoc.h?rev=165546&r1=165545&r2=165546&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/TypeLoc.h (original)
+++ cfe/trunk/include/clang/AST/TypeLoc.h Tue Oct 9 15:49:29 2012
@@ -866,6 +866,7 @@
void initializeLocal(ASTContext &Context, SourceLocation Loc) {
setNameLoc(Loc);
+ setNameEndLoc(Loc);
}
};
More information about the cfe-commits
mailing list