16 lines · c
1/// -fno-inline overrides -finline-functions/-finline-hint-functions.2// RUN: %clang -### -c --target=x86_64-apple-darwin10 -O2 -fno-inline -fno-inline-functions %s 2>&1 | FileCheck %s --check-prefix=NOINLINE3// RUN: %clang -### -c --target=x86_64 -O2 -finline -fno-inline -finline-functions %s 2>&1 | FileCheck %s --check-prefix=NOINLINE4// NOINLINE-NOT: "-finline-functions"5// NOINLINE: "-fno-inline"6// NOINLINE-NOT: "-finline-functions"7 8/// -finline overrides -finline-functions.9// RUN: %clang -### -c --target=x86_64 -O2 -fno-inline -finline -finline-functions %s 2>&1 | FileCheck %s --check-prefix=INLINE10// INLINE-NOT: "-finline-functions"11// INLINE-NOT: "-fno-inline"12// INLINE-NOT: "-finline"13 14// RUN: %clang -### -c --target=aarch64 -O2 -finline-functions %s 2>&1 | FileCheck %s --check-prefix=INLINE-FUNCTIONS15// INLINE-FUNCTIONS: "-finline-functions"16