| commit | ea12c05cc3b88f4856338ab9c556d02acf3a7545 | [log] [tgz] |
|---|---|---|
| author | Yifan Hong <elsk@google.com> | Tue May 01 15:29:31 2018 -0700 |
| committer | Yifan Hong <elsk@google.com> | Wed May 02 13:26:11 2018 -0700 |
| tree | 18c744c9b46f54df21a83b1da7e1344ffdc0d351 | |
| parent | 42a4aae5b21e532a6b11cb6d413f1f282a5534ba [diff] [blame] |
Add FqInstance::inPackage ... that delegates to FQName::inPackage(). Test: lshal Bug: 74247301 Change-Id: Ib4150032f70e10b3fa1fc3bb48ab93ec4d8c6fee
diff --git a/utils/FqInstance.cpp b/utils/FqInstance.cpp index 4689aae..8b39fdd 100644 --- a/utils/FqInstance.cpp +++ b/utils/FqInstance.cpp
@@ -129,4 +129,8 @@ return !(*this == other); } +bool FqInstance::inPackage(const std::string& package) const { + return mFqName.inPackage(package); +} + } // namespace android