| 1 | // RUN: rm -rf %t && mkdir -p %t |
| 2 | // RUN: clang-doc --output=%t --format=json --executor=standalone %s |
| 3 | // RUN: FileCheck %s < %t/GlobalNamespace/index.json |
| 4 | |
| 5 | static void myFunction() {} |
| 6 | |
| 7 | void noExceptFunction() noexcept {} |
| 8 | |
| 9 | inline void inlineFunction() {} |
| 10 | |
| 11 | extern void externFunction() {} |
| 12 | |
| 13 | constexpr void constexprFunction() {} |
| 14 | |
| 15 | // CHECK: "Functions": [ |
| 16 | // CHECK-NEXT: { |
| 17 | // CHECK: "IsStatic": true, |
| 18 | // COM: FIXME: Emit ExceptionSpecificationType |
| 19 | // CHECK-NOT: "ExceptionSpecifcation" : "noexcept", |
| 20 | // COM: FIXME: Emit inline |
| 21 | // CHECK-NOT: "IsInline": true, |
| 22 | // COM: FIXME: Emit extern |
| 23 | // CHECK-NOT: "IsExtern": true, |
| 24 | // COM: FIXME: Emit constexpr |
| 25 | // CHECK-NOT: "IsConstexpr": true, |
| 26 | |