[ASTContext][NFC] Remove getTargetAddressSpace(Qualifiers Q)
authorAlex Richardson <alexrichardson@google.com>
Tue, 22 Nov 2022 10:01:18 +0000 (10:01 +0000)
committerAlex Richardson <alexrichardson@google.com>
Wed, 23 Nov 2022 09:04:42 +0000 (09:04 +0000)
commit64f5fedb59e82a79c0c669c3d6591ca9eadb82fb
treeb3e87e3dd1b7928bef99dbc9833f1a18a4ee83f9
parent3fe89be8015955f2e8403f8b7d7580db13cedb2c
[ASTContext][NFC] Remove getTargetAddressSpace(Qualifiers Q)

This simply calls getTargetAddressSpace(Q.getAddressSpace()) and there
are only two callers, so adjust those caller instead.
clang/include/clang/AST/ASTContext.h
clang/lib/AST/ASTContext.cpp
clang/lib/CodeGen/CodeGenTypes.cpp