r302284 - [ODRHash] Fix typo, NFC

Richard Trieu via cfe-commits cfe-commits at lists.llvm.org
Fri May 5 13:47:51 PDT 2017


Author: rtrieu
Date: Fri May  5 15:47:50 2017
New Revision: 302284

URL: http://llvm.org/viewvc/llvm-project?rev=302284&view=rev
Log:
[ODRHash] Fix typo, NFC

NestedNameSpecifer to NestedNameSpecifier.  This was not a problem before since
one of the included headers transitively brought in the definition of the class
and only manifested as a problem when using the typoed NestedNameSpecifer and
getting an incomplete type error instead of a typo correction.

Modified:
    cfe/trunk/include/clang/AST/ODRHash.h

Modified: cfe/trunk/include/clang/AST/ODRHash.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ODRHash.h?rev=302284&r1=302283&r2=302284&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ODRHash.h (original)
+++ cfe/trunk/include/clang/AST/ODRHash.h Fri May  5 15:47:50 2017
@@ -25,7 +25,7 @@ namespace clang {
 
 class Decl;
 class IdentifierInfo;
-class NestedNameSpecifer;
+class NestedNameSpecifier;
 class Stmt;
 class TemplateParameterList;
 




More information about the cfe-commits mailing list