| commit | 55eca2853e4f096be189208770034a8a4fb72666 | [log] [tgz] |
|---|---|---|
| author | Johannes Doerfert <johannes@jdoerfert.de> | Fri Mar 13 23:42:05 2020 -0500 |
| committer | Johannes Doerfert <johannes@jdoerfert.de> | Mon Mar 23 14:23:46 2020 -0500 |
| tree | c426a800147ad758e98c307d6dd335ae175ad0a9 | |
| parent | 6b57d7f57d2cec7ec717757a6a52f2203d6e9db7 [diff] [blame] |
[OpenMP][NFC] Minimize memory usage and copying of `OMPTraitInfo`s See rational here: https://reviews.llvm.org/D71830#1922656 Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D76173
diff --git a/clang/lib/AST/AttrImpl.cpp b/clang/lib/AST/AttrImpl.cpp index 2c76f86..a5ff68c 100644 --- a/clang/lib/AST/AttrImpl.cpp +++ b/clang/lib/AST/AttrImpl.cpp
@@ -159,7 +159,7 @@ OS << ")"; } OS << " match("; - traitInfos.print(OS, Policy); + traitInfos->print(OS, Policy); OS << ")"; }