ac-clang-launch-completion-process problem when invoked with non-file buffer

for example , like c++-mode buffer from org-babel