diff --git a/scripts/create_compdb.py b/scripts/create_compdb.py index 452a2247a96c..e718e7c012b2 100755 --- a/scripts/create_compdb.py +++ b/scripts/create_compdb.py @@ -39,24 +39,24 @@ from typing import Any, Dict import scripts_utils _CPP_EXTENSIONS = { - "c", - "cc", - "cpp", - "cxx", - "c++", - "C", - "h", - "hpp", - "hxx", - "h++", - "hh", - "H", - "inc", - "def", - "ipp", - "s", - "S", - "asm", + ".c", + ".cc", + ".cpp", + ".cxx", + ".c++", + ".C", + ".h", + ".hpp", + ".hxx", + ".h++", + ".hh", + ".H", + ".inc", + ".def", + ".ipp", + ".s", + ".S", + ".asm", }