diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-03-27 21:06:47 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-03-27 21:06:47 +0000 |
commit | 7044b76707472ffee9d033863aa4178a440a20cd (patch) | |
tree | 50a4993b18650882bcb9f004a8131134d0ce6072 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6ecb5afcd6479ce55b9d2eb02acf66740a606ffa (diff) | |
download | bcm5719-llvm-7044b76707472ffee9d033863aa4178a440a20cd.tar.gz bcm5719-llvm-7044b76707472ffee9d033863aa4178a440a20cd.zip |
Finish off semantic analysis for regparm, and remove the warning. Also
remove a redundant error in CodeGen.
llvm-svn: 67868
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 0759abdd33f..907ade569bb 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -311,9 +311,6 @@ void CodeGenModule::SetFunctionAttributesForDefinition(const Decl *D, if (D->getAttr<NoinlineAttr>()) F->addFnAttr(llvm::Attribute::NoInline); - - if (D->getAttr<RegparmAttr>()) - ErrorUnsupported(D, "regparm attribute"); } void CodeGenModule::SetMethodAttributes(const ObjCMethodDecl *MD, |