melver wrote:

> Did we factor this out b/c we are going to be reusing this in more than one 
> place?

Yes:
```
% git grep getAllocTokenModeAsString
clang/lib/CodeGen/CodeGenModule.cpp:    StringRef S = 
llvm::getAllocTokenModeAsString(*LangOpts.AllocTokenMode);
clang/lib/Frontend/CompilerInvocation.cpp:    StringRef S = 
llvm::getAllocTokenModeAsString(*Opts.AllocTokenMode);
```

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

Reply via email to