llvm-project/clang-tools-extra/clangd/unittests
Shaurya Gupta 1fb97c9036 dummy variable extraction on a function scope
Summary:
- Added extraction to a dummy variable
- using auto for the dummy variable type for now
- Works on a function scope
- Adding braces to create a compound statement not supported yet
- added unit tests

Reviewers: sammccall, kadircet

Subscribers: mgorny, jkorous, arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D63773

llvm-svn: 365453
2019-07-09 10:12:26 +00:00
..
xpc [clangd][xpc] Fix XPC unittests 2019-04-29 19:41:30 +00:00
Annotations.cpp
Annotations.h
BackgroundIndexTests.cpp [clangd] Make HadErrors part of background index's internal state 2019-07-04 09:52:12 +00:00
CMakeLists.txt [clangd] Added functionality for getting semantic highlights for variable and function declarations 2019-06-26 13:08:36 +00:00
CancellationTests.cpp
CanonicalIncludesTests.cpp [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
ClangdTests.cpp [clangd] Turn no-parse-completion on by when preamble isn't ready. Add flag to force it. 2019-05-21 13:40:31 +00:00
ClangdUnitTests.cpp [clangd] No longer getting template instantiations from header files in Main AST. 2019-07-01 11:49:01 +00:00
CodeCompleteTests.cpp [clang][HeaderSearch] Shorten paths for includes in mainfile's directory 2019-07-03 07:47:19 +00:00
CodeCompletionStringsTests.cpp [clangd] Place cursor better after completing patterns 2019-05-28 15:33:37 +00:00
ContextTests.cpp
DexTests.cpp [clangd] Index API and implementations for relations 2019-06-15 02:26:47 +00:00
DiagnosticsTests.cpp [clangd] Deduplicate clang-tidy diagnostic messages. 2019-07-05 12:57:56 +00:00
DraftStoreTests.cpp
ExpectedTypeTest.cpp [clangd] Compute expected type for templates 2019-05-28 13:56:21 +00:00
FSTests.cpp [clangd] Make PreambleStatusCache handle filenames more carefully 2019-07-01 10:11:18 +00:00
FileDistanceTests.cpp
FileIndexTests.cpp [clangd] Perform merge for main file symbols. 2019-06-17 14:49:18 +00:00
FindSymbolsTests.cpp [clangd] Qualify uses of ::testing everywhere. NFC 2019-05-06 10:08:47 +00:00
FormatTests.cpp [clangd] Revamp textDocument/onTypeFormatting. 2019-06-10 14:26:21 +00:00
FormattedStringTests.cpp [clangd] Introduce intermediate representation of formatted text 2019-05-07 14:18:18 +00:00
FunctionTests.cpp
FuzzyMatchTests.cpp [clangd] Qualify uses of ::testing everywhere. NFC 2019-05-06 10:08:47 +00:00
GlobalCompilationDatabaseTests.cpp [clangd] Parse files without extensions if we don't have a compile command. 2019-06-18 11:54:17 +00:00
HeadersTests.cpp [clangd] Don't insert absolute paths, give up instead. 2019-07-08 18:07:46 +00:00
IndexActionTests.cpp [clangd] Add HadErrors field into shards 2019-07-04 09:52:04 +00:00
IndexTests.cpp [clangd] Index API and implementations for relations 2019-06-15 02:26:47 +00:00
JSONTransportTests.cpp
Matchers.h
PrintASTTests.cpp Fix gcc compilation warning in test case [NFC] 2019-05-09 12:12:35 +00:00
QualityTests.cpp [clangd] Boost code completion results that were named in the last few lines. 2019-05-06 10:25:10 +00:00
RIFFTests.cpp
RenameTests.cpp [clangd] Show better message when we rename macros. 2019-07-01 09:26:48 +00:00
SelectionTests.cpp [clangd] Address limitations in SelectionTree: 2019-06-27 11:17:13 +00:00
SemanticHighlightingTests.cpp [clangd] Added highlighting for variable references (declrefs) 2019-07-05 13:06:03 +00:00
SerializationTests.cpp [clangd] Use xxhash instead of SHA1 for background index file digests. 2019-07-08 11:33:17 +00:00
SourceCodeTests.cpp [clangd] Show better message when we rename macros. 2019-07-01 09:26:48 +00:00
SymbolCollectorTests.cpp [clangd] Collect the refs when the main file is header. 2019-07-02 09:16:21 +00:00
SymbolInfoTests.cpp [clangd] Qualify uses of ::testing everywhere. NFC 2019-05-06 10:08:47 +00:00
SyncAPI.cpp
SyncAPI.h
TUSchedulerTests.cpp [clangd] Add ClangdServer accessor for buffer contents 2019-06-19 07:29:05 +00:00
TestFS.cpp
TestFS.h
TestIndex.cpp
TestIndex.h
TestScheme.h
TestTU.cpp [clangd] Don't rename the namespace. 2019-06-26 08:10:26 +00:00
TestTU.h [clangd] Respect WarningsAsErrors configuration for clang-tidy 2019-05-19 04:19:14 +00:00
ThreadingTests.cpp
TraceTests.cpp
TweakTests.cpp dummy variable extraction on a function scope 2019-07-09 10:12:26 +00:00
TypeHierarchyTests.cpp [clangd] Type hierarchy subtypes 2019-06-16 02:31:37 +00:00
URITests.cpp
XRefsTests.cpp [clangd] Add Value field to HoverInfo 2019-06-26 08:00:24 +00:00
lit.cfg.py [clangd] Restore conventional names for lit configs, and .in/.py split. Fix build_mode indirection. 2019-05-02 08:00:39 +00:00
lit.site.cfg.py.in [clangd] Restore conventional names for lit configs, and .in/.py split. Fix build_mode indirection. 2019-05-02 08:00:39 +00:00