swift
b3463855 - AST: Refactor AvailabilityContext into a value type.

Commit
262 days ago
AST: Refactor AvailabilityContext into a value type. Make the pointer to uniqued storage an implementation detail of an `AvailabilityContext` value. This way clients of `AvailabilityContext` don't need to think about pointers and can have access to mutating operations on a context when appropriate.
Author
Committer
Parents
  • include/swift/AST
    • File
      AvailabilityContext.h
    • File
      AvailabilityContextStorage.h
    • File
      TypeRefinementContext.h
  • lib
    • AST
      • File
        ASTContext.cpp
      • File
        AvailabilityContext.cpp
      • File
        TypeRefinementContext.cpp
    • Sema
      • File
        TypeCheckAvailability.cpp
Loading