parameters: (source_dirs, dry_run, show_diff)
docstring: Updates license text in C++ source files found in directory source_dirs.
      Parameters:
        source_dirs: list of directory to scan for C++ sources. Directories are
                     scanned recursively.
        dry_run: if True, just print the path of the file that would be updated,
                 but don't change it.
        show_diff: if True, print the path of the file that would be modified,
                   as well as the change made to the file.
docstring_summary: Updates license text in C++ source files found in directory source_dirs.
      Parameters:
        source_dirs: list of directory to scan for C++ sources. Directories are
                     scanned recursively.
        dry_run: if True, just print the path of the file that would be updated,
                 but don't change it.
        show_diff: if True, print the path of the file that would be modified,
                   as well as the change made to the file.
docstring_tokens: Updates license text in C ++ source files found in directory source_dirs . Parameters : source_dirs : list of directory to scan for C ++ sources . Directories are scanned recursively . dry_run : if True just print the path of the file that would be updated but don t change it . show_diff : if True print the path of the file that would be modified as well as the change made to the file .
function: def update_license_in_source_directories(source_dirs, dry_run, show_diff):
      """Updates license text in C++ source files found in directory source_dirs.
      Parameters:
        source_dirs: list of directory to scan for C++ sources. Directories are
                     scanned recursively.
        dry_run: if True, just print the path of the file that would be updated,
                 but don't change it.
        show_diff: if True, print the path of the file that would be modified,
                   as well as the change made to the file.
      """
      from devtools import antglob
      prune_dirs = antglob.prune_dirs + 'scons-local* ./build* ./libs ./dist'
      for source_dir in source_dirs:
          cpp_sources = antglob.glob(source_dir,
              includes = '''**/*.h **/*.cpp **/*.inl''',
              prune_dirs = prune_dirs)
          for source in cpp_sources:
              update_license(source, dry_run, show_diff)
function_tokens: def update_license_in_source_directories ( source_dirs , dry_run , show_diff ) : from devtools import antglob prune_dirs = antglob . prune_dirs + 'scons-local* ./build* ./libs ./dist' for source_dir in source_dirs : cpp_sources = antglob . glob ( source_dir , includes = '''**/*.h **/*.cpp **/*.inl''' , prune_dirs = prune_dirs ) for source in cpp_sources : update_license ( source , dry_run , show_diff )