// RUN: rm -rf %t // RUN: split-file %s %t // RUN: %clang_cc1 -x c++ -Wdocumentation -fsyntax-only -ast-dump-all %t/t.cpp //--- t.h /// MyClass in the header file class MyClass { public: template void Foo() const; /// Bar void Bar() const; }; //--- t.cpp #include "t.h" /// MyClass::Bar: Foo() is implicitly instantiated and called here. void MyClass::Bar() const { Foo(); } /// MyClass::Foo template void MyClass::Foo() const { } // CHECK: TranslationUnitDecl