]> granicus.if.org Git - clang/commitdiff
Fix broken reading of NestedNameSpecifiers from PCH.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 7 Jul 2010 15:46:30 +0000 (15:46 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 7 Jul 2010 15:46:30 +0000 (15:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107784 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/PCHReader.cpp

index 2b7dcacd03a20af5750fc2f04b3eddcf5bb50330..e2701cea40bb21e6d14386fc23eea7e2f30d4078 100644 (file)
@@ -3189,8 +3189,8 @@ PCHReader::ReadNestedNameSpecifier(const RecordData &Record, unsigned &Idx) {
       // No associated value, and there can't be a prefix.
       break;
     }
-    Prev = NNS;
     }
+    Prev = NNS;
   }
   return NNS;
 }