def METHOD_NAME(self, flags):
    """Reformat C++ files.
    :param flags: Flags indicating what files to reformat ["all", FILE, PATTERN]
    """
    formatter = FormatterCPlusCplus(self.config_dir, self.show_progress)
    formatter.initialize()
    if flags == "all":
        targets = self._find_files(["*.cc", "*.hh", "*.c", "*.h"])
    else:
        targets = glob.glob(flags)
    for target in targets:
        formatter.format_file(target)
    return