зеркало из https://github.com/microsoft/clang-1.git
Don't try to CodeGen using directives, from Anders Johnsen
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
d6970811dc
Коммит
dd9967a637
|
@ -1653,6 +1653,7 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) {
|
||||||
break;
|
break;
|
||||||
// No code generation needed.
|
// No code generation needed.
|
||||||
case Decl::Using:
|
case Decl::Using:
|
||||||
|
case Decl::UsingDirective:
|
||||||
case Decl::ClassTemplate:
|
case Decl::ClassTemplate:
|
||||||
case Decl::FunctionTemplate:
|
case Decl::FunctionTemplate:
|
||||||
break;
|
break;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче