26 lines · cpp
1// RUN: rm -rf %t && mkdir -p %t2// RUN: clang-doc --output=%t --format=json --executor=standalone %s3// RUN: FileCheck %s < %t/json/GlobalNamespace/index.json4 5static void myFunction() {}6 7void noExceptFunction() noexcept {}8 9inline void inlineFunction() {}10 11extern void externFunction() {}12 13constexpr void constexprFunction() {}14 15// CHECK: "Functions": [16// CHECK-NEXT: {17// CHECK: "IsStatic": true,18// COM: FIXME: Emit ExceptionSpecificationType19// CHECK-NOT: "ExceptionSpecifcation" : "noexcept",20// COM: FIXME: Emit inline21// CHECK-NOT: "IsInline": true,22// COM: FIXME: Emit extern23// CHECK-NOT: "IsExtern": true,24// COM: FIXME: Emit constexpr25// CHECK-NOT: "IsConstexpr": true,26