зеркало из https://github.com/microsoft/clang-1.git
Code gen does not yet supports __asm__ on a variable
declaration. Reject it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68058 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
93e71455e9
Коммит
ba8639dd25
|
@ -60,6 +60,9 @@ void CodeGenFunction::EmitDecl(const Decl &D) {
|
|||
/// EmitBlockVarDecl - This method handles emission of any variable declaration
|
||||
/// inside a function, including static vars etc.
|
||||
void CodeGenFunction::EmitBlockVarDecl(const VarDecl &D) {
|
||||
if (D.getAttr<AsmLabelAttr>())
|
||||
CGM.ErrorUnsupported(&D, "__asm__");
|
||||
|
||||
switch (D.getStorageClass()) {
|
||||
case VarDecl::Static:
|
||||
return EmitStaticBlockVarDecl(D);
|
||||
|
|
Загрузка…
Ссылка в новой задаче