================
@@ -35,8 +35,9 @@ namespace clang {
 namespace clangd {
 
 enum class IndexFileFormat {
-  RIFF, // Versioned binary format, suitable for production use.
-  YAML, // Human-readable format, suitable for experiments and debugging.
+  RIFF,      // Versioned binary format, suitable for production use.
+  YAML,      // Human-readable format, suitable for experiments and debugging.
+  BACKGROUND // Background index format, suitable for language server use.
----------------
JVApen wrote:

I understand why you pick 'background' as name, though I find it quite 
confusing while reading. I'm wondering if there are alternative names. For 
example: shards. Looking at the code that reads the shards (readIndexFile) it 
can both be riff and YAML. Not sure if we can write both. Though if so, I would 
expect this to be a separate flag.

https://github.com/llvm/llvm-project/pull/175209
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to