[PATCH] D66179: [LifetimeAnalysis] Support more STL idioms (template forward declaration and DependentNameType)

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 15:37:36 PDT 2019


thakis added a comment.

Similar to



================
Comment at: cfe/trunk/unittests/Sema/CMakeLists.txt:14
   clangAST
+  clangASTMatchers
   clangBasic
----------------
Is it necessary to use ASTMachers to test this? It'd be good if SemaTests wouldn't have to depend on ASTMatchers (for linking speed, as well for layering hygiene).


================
Comment at: cfe/trunk/unittests/Sema/GslOwnerPointerInference.cpp:9
+
+#include "../ASTMatchers/ASTMatchersTest.h"
+#include "clang/ASTMatchers/ASTMatchers.h"
----------------
This weird relative include path is a hint that this isn't the intended use :)


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66179/new/

https://reviews.llvm.org/D66179





More information about the llvm-commits mailing list