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=NOINLINE 3 // RUN: %clang -### -c --target=x86_64 -O2 -finline -fno-inline -finline-functions %s 2>&1 | FileCheck %s --check-prefix=NOINLINE 4 // 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=INLINE 10 // 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-FUNCTIONS 15 // INLINE-FUNCTIONS: "-finline-functions" 16