================
@@ -955,8 +962,11 @@ bool CompilerInstance::InitializeSourceManager(
return false;
}
+ // Pass the input encoding name for charset conversion if specified
SourceMgr.setMainFileID(
- SourceMgr.createFileID(*FileOrErr, SourceLocation(), Kind, Converter));
+ SourceMgr.createFileID(*FileOrErr, SourceLocation(), Kind,
+ /*LoadedID=*/0,
----------------
azhan92 wrote:
Move InputEncodingName to fourth argument
https://github.com/llvm/llvm-project/pull/205163
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits