r203169 - Remove a dead store, add a FIXME for another.
Richard Smith
richard-llvm at metafoo.co.uk
Thu Mar 6 13:59:38 PST 2014
Author: rsmith
Date: Thu Mar 6 15:59:38 2014
New Revision: 203169
URL: http://llvm.org/viewvc/llvm-project?rev=203169&view=rev
Log:
Remove a dead store, add a FIXME for another.
Modified:
cfe/trunk/lib/Lex/ModuleMap.cpp
cfe/trunk/tools/c-index-test/c-index-test.c
Modified: cfe/trunk/lib/Lex/ModuleMap.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/ModuleMap.cpp?rev=203169&r1=203168&r2=203169&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/ModuleMap.cpp (original)
+++ cfe/trunk/lib/Lex/ModuleMap.cpp Thu Mar 6 15:59:38 2014
@@ -1996,6 +1996,7 @@ void ModuleMapParser::parseInferredModul
// 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.
Modified: cfe/trunk/tools/c-index-test/c-index-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/c-index-test.c?rev=203169&r1=203168&r2=203169&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/c-index-test.c (original)
+++ cfe/trunk/tools/c-index-test/c-index-test.c Thu Mar 6 15:59:38 2014
@@ -1329,7 +1329,7 @@ static enum CXChildVisitResult PrintType
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));
More information about the cfe-commits
mailing list