[clang] 7954368 - [Serialization] Remove unused declaration SLocCursorForID

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Sat May 27 10:45:29 PDT 2023


Author: Kazu Hirata
Date: 2023-05-27T10:45:17-07:00
New Revision: 795436889dce9a314dc7e18476d0f5f2fc68482c

URL: https://github.com/llvm/llvm-project/commit/795436889dce9a314dc7e18476d0f5f2fc68482c
DIFF: https://github.com/llvm/llvm-project/commit/795436889dce9a314dc7e18476d0f5f2fc68482c.diff

LOG: [Serialization] Remove unused declaration SLocCursorForID

The corresponding function body was removed by:

  commit 925296b4c2cbb358c34323dfcffbea6d59eb9c1e
  Author: Douglas Gregor <dgregor at apple.com>
  Date:   Tue Jul 19 16:10:42 2011 +0000

Added: 
    

Modified: 
    clang/include/clang/Serialization/ASTReader.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Serialization/ASTReader.h b/clang/include/clang/Serialization/ASTReader.h
index 1360ee1877c1a..85f31ed22aca9 100644
--- a/clang/include/clang/Serialization/ASTReader.h
+++ b/clang/include/clang/Serialization/ASTReader.h
@@ -1390,7 +1390,6 @@ class ASTReader
   void ReadModuleOffsetMap(ModuleFile &F) const;
   void ParseLineTable(ModuleFile &F, const RecordData &Record);
   llvm::Error ReadSourceManagerBlock(ModuleFile &F);
-  llvm::BitstreamCursor &SLocCursorForID(int ID);
   SourceLocation getImportLocation(ModuleFile *F);
   void readIncludedFiles(ModuleFile &F, StringRef Blob, Preprocessor &PP);
   ASTReadResult ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F,


        


More information about the cfe-commits mailing list