@@ -37,32 +37,32 @@ namespace serialize {
3737// its parent scope. For NamespaceDecl and RecordDecl both elements are not
3838// nullptr.
3939std::pair<std::unique_ptr<Info>, std::unique_ptr<Info>>
40- emitInfo (const NamespaceDecl *D, const FullComment *FC, int LineNumber,
41- StringRef File, bool IsFileInRootDir, bool PublicOnly);
40+ emitInfo (const NamespaceDecl *D, const FullComment *FC, Location Loc,
41+ bool PublicOnly);
4242
4343std::pair<std::unique_ptr<Info>, std::unique_ptr<Info>>
44- emitInfo (const RecordDecl *D, const FullComment *FC, int LineNumber,
45- StringRef File, bool IsFileInRootDir, bool PublicOnly);
44+ emitInfo (const RecordDecl *D, const FullComment *FC, Location Loc,
45+ bool PublicOnly);
4646
4747std::pair<std::unique_ptr<Info>, std::unique_ptr<Info>>
48- emitInfo (const EnumDecl *D, const FullComment *FC, int LineNumber,
49- StringRef File, bool IsFileInRootDir, bool PublicOnly);
48+ emitInfo (const EnumDecl *D, const FullComment *FC, Location Loc,
49+ bool PublicOnly);
5050
5151std::pair<std::unique_ptr<Info>, std::unique_ptr<Info>>
52- emitInfo (const FunctionDecl *D, const FullComment *FC, int LineNumber,
53- StringRef File, bool IsFileInRootDir, bool PublicOnly);
52+ emitInfo (const FunctionDecl *D, const FullComment *FC, Location Loc,
53+ bool PublicOnly);
5454
5555std::pair<std::unique_ptr<Info>, std::unique_ptr<Info>>
56- emitInfo (const CXXMethodDecl *D, const FullComment *FC, int LineNumber,
57- StringRef File, bool IsFileInRootDir, bool PublicOnly);
56+ emitInfo (const CXXMethodDecl *D, const FullComment *FC, Location Loc,
57+ bool PublicOnly);
5858
5959std::pair<std::unique_ptr<Info>, std::unique_ptr<Info>>
60- emitInfo (const TypedefDecl *D, const FullComment *FC, int LineNumber,
61- StringRef File, bool IsFileInRootDir, bool PublicOnly);
60+ emitInfo (const TypedefDecl *D, const FullComment *FC, Location Loc,
61+ bool PublicOnly);
6262
6363std::pair<std::unique_ptr<Info>, std::unique_ptr<Info>>
64- emitInfo (const TypeAliasDecl *D, const FullComment *FC, int LineNumber,
65- StringRef File, bool IsFileInRootDir, bool PublicOnly);
64+ emitInfo (const TypeAliasDecl *D, const FullComment *FC, Location Loc,
65+ bool PublicOnly);
6666
6767// Function to hash a given USR value for storage.
6868// As USRs (Unified Symbol Resolution) could be large, especially for functions
0 commit comments