Support for clang 3.4 and 3.5 API