diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-03-15 22:31:42 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-03-15 22:31:42 +0000 |
commit | fc055f943d154c9b7463f43a3b59e093723362c9 (patch) | |
tree | 82934e44a3716742bd97de3a7fc1bf5af8eefa40 /test/CodeGen | |
parent | 7b204d6433d842341f602fbd8b31b5c0020b35a4 (diff) |
[frontend] Fix how the frontend handles -fno-inline. AFAIK clang now matches
the behavior of gcc with respect to the -fno-inline and -fno-inline-functions
flags.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/noinline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/noinline.c b/test/CodeGen/noinline.c index 45768815ab..e64a1a539f 100644 --- a/test/CodeGen/noinline.c +++ b/test/CodeGen/noinline.c @@ -1,7 +1,7 @@ // Make sure -fno-inline-functions is behaving correctly. // rdar://10972766 -// RUN: %clang_cc1 -O3 -fno-inline-functions -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s +// RUN: %clang_cc1 -O3 -fno-inline -fno-inline-functions -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s inline int dont_inline_me(int a, int b) { return(a+b); } |