From 4488394d854a439af40ea9bfcb04ffc8d264c907 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 6 Mar 2014 21:59:38 +0000 Subject: [PATCH] Remove a dead store, add a FIXME for another. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203169 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Lex/ModuleMap.cpp | 1 + tools/c-index-test/c-index-test.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Lex/ModuleMap.cpp b/lib/Lex/ModuleMap.cpp index 86ffa5288a..14bc3baba6 100644 --- a/lib/Lex/ModuleMap.cpp +++ b/lib/Lex/ModuleMap.cpp @@ -1996,6 +1996,7 @@ void ModuleMapParser::parseInferredModuleDecl(bool Framework, bool Explicit) { // We'll be inferring framework modules for this directory. Map.InferredDirectories[Directory].InferModules = true; Map.InferredDirectories[Directory].InferSystemModules = Attrs.IsSystem; + // FIXME: Handle the 'framework' keyword. } // Parse the opening brace. diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c index 22c0d97623..f6b5510292 100644 --- a/tools/c-index-test/c-index-test.c +++ b/tools/c-index-test/c-index-test.c @@ -1329,7 +1329,7 @@ static enum CXChildVisitResult PrintTypeSize(CXCursor cursor, CXCursor p, CXCursor Parent, Root; if (clang_getCursorKind(cursor) == CXCursor_FieldDecl ) { const char *RootParentName; - Root = Parent = p; + Parent = p; do { Root = Parent; RootParentName = clang_getCString(clang_getCursorSpelling(Root)); -- 2.40.0