diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-10-27 21:01:01 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-10-27 21:01:01 +0000 |
commit | 35b5753e1797f919f61066bfabe3b0b35c8e91c1 (patch) | |
tree | 5310c7ea560a5f16b1e8dcbfed5141184966af5d /clang/lib/Sema/SemaDecl.cpp | |
parent | afca3b4a5c85b000ce7fe5ebf8518bbb63edb91b (diff) | |
download | bcm5719-llvm-35b5753e1797f919f61066bfabe3b0b35c8e91c1.tar.gz bcm5719-llvm-35b5753e1797f919f61066bfabe3b0b35c8e91c1.zip |
Rename FunctionDecl::isInline/setInline to
FunctionDecl::isInlineSpecified/setInlineSpecified.
llvm-svn: 85305
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 36f95a455a9..48b5c2838e0 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -3102,7 +3102,7 @@ void Sema::CheckMain(FunctionDecl* FD) { // C99 6.7.4p4: In a hosted environment, the inline function specifier // shall not appear in a declaration of main. // static main is not an error under C99, but we should warn about it. - bool isInline = FD->isInline(); + bool isInline = FD->isInlineSpecified(); bool isStatic = FD->getStorageClass() == FunctionDecl::Static; if (isInline || isStatic) { unsigned diagID = diag::warn_unusual_main_decl; |