summaryrefslogtreecommitdiffstats
path: root/lib/AST/ASTImporter.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-11-02 20:52:01 +0000
committerDouglas Gregor <dgregor@apple.com>2011-11-02 20:52:01 +0000
commit21a25167b8279df3d8f889d041a4fd98733d3c27 (patch)
treed7fb6455ec9893fc2c1b598dbfb27d73c80578b9 /lib/AST/ASTImporter.cpp
parent5fa3f1309b27d2f117dfd10a45a8642b7d4baae9 (diff)
Fix various minor issues find via unreachable code warnings, from
Ahmed Charles! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ASTImporter.cpp')
-rw-r--r--lib/AST/ASTImporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/ASTImporter.cpp b/lib/AST/ASTImporter.cpp
index e92b358ec7..519d519a5e 100644
--- a/lib/AST/ASTImporter.cpp
+++ b/lib/AST/ASTImporter.cpp
@@ -1774,8 +1774,8 @@ ASTNodeImporter::ImportDeclarationNameLoc(const DeclarationNameInfo &From,
To.setNamedTypeInfo(Importer.Import(FromTInfo));
return;
}
- llvm_unreachable("Unknown name kind.");
}
+ llvm_unreachable("Unknown name kind.");
}
void ASTNodeImporter::ImportDeclContext(DeclContext *FromDC, bool ForceImport) {