[clang-tools-extra] 6abb70c - Attempt forward fix after 4dfd113
David Goldman via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 4 14:49:54 PST 2022
Author: David Goldman
Date: 2022-02-04T17:47:38-05:00
New Revision: 6abb70c2d00812350153f4299a2491fdc3810ac3
URL: https://github.com/llvm/llvm-project/commit/6abb70c2d00812350153f4299a2491fdc3810ac3
DIFF: https://github.com/llvm/llvm-project/commit/6abb70c2d00812350153f4299a2491fdc3810ac3.diff
LOG: Attempt forward fix after 4dfd113
If this doesn't work will just revert the change,
can't seem to repro on macOS.
Added:
Modified:
clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp b/clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
index 1b934bd2342eb..7c1e1a96db003 100644
--- a/clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
+++ b/clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
@@ -675,14 +675,11 @@ TEST_F(SymbolCollectorTest, ObjCFrameworkIncludeHeader) {
testPath("Frameworks/Foundation.framework/Headers/NSObject.h"), 0,
llvm::MemoryBuffer::getMemBuffer(FrameworkHeader));
std::string PrivateFrameworkHeader = R"(
- #import <Foundation/Foundation.h>
+ #import <Foundation/NSObject.h>
@interface PrivateClass : NSObject
@end
)";
- InMemoryFileSystem->addFile(
- testPath("Frameworks/Foundation.framework/Headers/NSObject.h"), 0,
- llvm::MemoryBuffer::getMemBuffer(FrameworkHeader));
InMemoryFileSystem->addFile(
testPath(
"Frameworks/Foundation.framework/PrivateHeaders/NSObject+Private.h"),
More information about the cfe-commits
mailing list