add clang-begin
only match class that has both begin/end defined