diff options
author | River Riddle <riddleriver@gmail.com> | 2020-10-26 19:31:10 -0700 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2020-10-26 19:40:19 -0700 |
commit | eda450bb27c4638ba191deaa92526c5ad0fcb87f (patch) | |
tree | 4bb26a39a948b8d061e5fe5f8f17348b5e191850 /clang/lib/Tooling/JSONCompilationDatabase.cpp | |
parent | 67f52f35d62b25f929646e972287c7b5397a044e (diff) | |
download | llvm-eda450bb27c4638ba191deaa92526c5ad0fcb87f.zip llvm-eda450bb27c4638ba191deaa92526c5ad0fcb87f.tar.gz llvm-eda450bb27c4638ba191deaa92526c5ad0fcb87f.tar.bz2 |
[mlir][SymbolTable] Use Identifier instead of StringRef when looking up symbol name attributes
Using an Identifier is much more efficient for attribute lookups because it uses pointer comparison as opposed to string comparison.
Differential Revision: https://reviews.llvm.org/D89660
Diffstat (limited to 'clang/lib/Tooling/JSONCompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions