[cfe-commits] r98655 - in /cfe/trunk/lib: Frontend/ASTUnit.cpp Parse/ParseDecl.cpp
Douglas Gregor
dgregor at apple.com
Tue Mar 16 12:09:18 PDT 2010
Author: dgregor
Date: Tue Mar 16 14:09:18 2010
New Revision: 98655
URL: http://llvm.org/viewvc/llvm-project?rev=98655&view=rev
Log:
Make sure we actually override ReadHeaderFileInfo when we meant to
Modified:
cfe/trunk/lib/Frontend/ASTUnit.cpp
cfe/trunk/lib/Parse/ParseDecl.cpp
Modified: cfe/trunk/lib/Frontend/ASTUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/ASTUnit.cpp?rev=98655&r1=98654&r2=98655&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/ASTUnit.cpp (original)
+++ cfe/trunk/lib/Frontend/ASTUnit.cpp Tue Mar 16 14:09:18 2010
@@ -83,7 +83,7 @@
return false;
}
- virtual void ReadHeaderFileInfo(const HeaderFileInfo &HFI) {
+ virtual void ReadHeaderFileInfo(const HeaderFileInfo &HFI, unsigned ID) {
HSI.setHeaderFileInfoForUID(HFI, NumHeaderInfos++);
}
Modified: cfe/trunk/lib/Parse/ParseDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDecl.cpp?rev=98655&r1=98654&r2=98655&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDecl.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDecl.cpp Tue Mar 16 14:09:18 2010
@@ -110,7 +110,7 @@
IdentifierInfo *AttrName = Tok.getIdentifierInfo();
SourceLocation AttrNameLoc = ConsumeToken();
- // check if we have a "paramterized" attribute
+ // check if we have a "parameterized" attribute
if (Tok.is(tok::l_paren)) {
ConsumeParen(); // ignore the left paren loc for now
More information about the cfe-commits
mailing list