| 1 |
// RUN: rm -rf %t && mkdir -p %t |
| 2 |
// RUN: %clang_cc1 -fmodules -fblocks -fimplicit-module-maps -fmodules-cache-path=%t/ModulesCache/Methods -fdisable-module-hash -fapinotes-modules -fsyntax-only -I %S/Inputs/Headers -F %S/Inputs/Frameworks %s -x c++ |
| 3 |
// RUN: %clang_cc1 -fmodules -fblocks -fimplicit-module-maps -fmodules-cache-path=%t/ModulesCache/Methods -fdisable-module-hash -fapinotes-modules -I %S/Inputs/Headers -F %S/Inputs/Frameworks %s -ast-dump -ast-dump-filter IntWrapper::getIncremented -x c++ | FileCheck --check-prefix=CHECK-METHOD %s |
| 4 |
|
| 5 |
#include "Methods.h" |
| 6 |
|
| 7 |
// CHECK-METHOD: Dumping IntWrapper::getIncremented: |
| 8 |
// CHECK-METHOD-NEXT: CXXMethodDecl {{.+}} getIncremented |
| 9 |
// CHECK-METHOD: UnavailableAttr {{.+}} <<invalid sloc>> "oh no" |