swift
19e6bee3 - [NFC] Use the Correct const-Qualification in Dependency Code

Commit
4 years ago
[NFC] Use the Correct const-Qualification in Dependency Code T *const does not prevent logically non-const accesses to the underlying data, it merely indicates that the pointer value itself is const. This modifier can be cast off by a copy, so it's not generally what you want here. Switch to const T * instead.
Author
Committer
Parents
  • include/swift/AST
    • File
      FineGrainedDependencies.h
  • lib
    • AST
      • File
        FrontendSourceFileDepGraphFactory.cpp
      • File
        FrontendSourceFileDepGraphFactory.h
    • FrontendTool
      • File
        FrontendTool.cpp
      • File
        LoadedModuleTrace.cpp