[llvm-branch-commits] [cfe-branch] r73535 - /cfe/branches/Apple/Dib/lib/AST/ASTContext.cpp
Daniel Dunbar
daniel at zuster.org
Tue Jun 16 12:44:26 PDT 2009
Author: ddunbar
Date: Tue Jun 16 14:44:25 2009
New Revision: 73535
URL: http://llvm.org/viewvc/llvm-project?rev=73535&view=rev
Log:
Fix merge of 73316, SmallVector hasn't acquired the data() method on this
branch.
Modified:
cfe/branches/Apple/Dib/lib/AST/ASTContext.cpp
Modified: cfe/branches/Apple/Dib/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/Dib/lib/AST/ASTContext.cpp?rev=73535&r1=73534&r2=73535&view=diff
==============================================================================
--- cfe/branches/Apple/Dib/lib/AST/ASTContext.cpp (original)
+++ cfe/branches/Apple/Dib/lib/AST/ASTContext.cpp Tue Jun 16 14:44:25 2009
@@ -3484,6 +3484,6 @@
// handle untyped/variadic arguments "T c99Style();" or "T cppStyle(...);".
if (ArgTypes.size() == 0 && TypeStr[0] == '.')
return getFunctionNoProtoType(ResType);
- return getFunctionType(ResType, ArgTypes.data(), ArgTypes.size(),
+ return getFunctionType(ResType, &ArgTypes[0], ArgTypes.size(),
TypeStr[0] == '.', 0);
}
More information about the llvm-branch-commits
mailing list