diff options
author | 2020-12-01 12:34:18 -0800 | |
---|---|---|
committer | 2020-12-01 12:34:18 -0800 | |
commit | f9eaa4650f5d5948af7050efef9d4098ff7f0ae8 (patch) | |
tree | 1c0ff9be344a04a94539f8100d51a3ec86a41dd4 | |
parent | [LTO][wasm][NewPM] Allow using new pass manager for wasm LTO (diff) | |
download | llvm-project-f9eaa4650f5d5948af7050efef9d4098ff7f0ae8.tar.gz llvm-project-f9eaa4650f5d5948af7050efef9d4098ff7f0ae8.tar.bz2 llvm-project-f9eaa4650f5d5948af7050efef9d4098ff7f0ae8.zip |
Fix erroneous edit in https://github.com/llvm/llvm-project/actions/runs/394499364
-rw-r--r-- | clang/lib/Sema/SemaLookup.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp index 34065a5a212a..16dd8f510596 100644 --- a/clang/lib/Sema/SemaLookup.cpp +++ b/clang/lib/Sema/SemaLookup.cpp @@ -2576,8 +2576,6 @@ namespace { bool addClassTransitive(CXXRecordDecl *RD) { Classes.insert(RD); - if (InstantiationLoc.isInvalid()) - InstantiationLoc = RD->getLocation(); return ClassesTransitive.insert(RD); } |