mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-26 01:21:57 +00:00
wip
This commit is contained in:
parent
cc85f196f4
commit
d3b9743040
@ -1,5 +0,0 @@
|
|||||||
-std=c++11
|
|
||||||
-Ithird_party/rapidjson/include
|
|
||||||
-IC:/Program Files/LLVM/include
|
|
||||||
-fms-compatibility
|
|
||||||
-fdelayed-template-parsing
|
|
13
src/clang_args
Normal file
13
src/clang_args
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
-xc++
|
||||||
|
-std=c++11
|
||||||
|
-IC:/Users/jacob/Desktop/superindex/indexer/third_party
|
||||||
|
-IC:/Users/jacob/Desktop/superindex/indexer/third_party/doctest/doctest
|
||||||
|
-IC:/Users/jacob/Desktop/superindex/indexer/third_party/rapidjson/include
|
||||||
|
-IC:/Program Files/LLVM/include
|
||||||
|
|
||||||
|
#--sysrootC:/Users/jacob/Desktop/superindex/indexer/libcxx
|
||||||
|
#-IC:/Users/jacob/Desktop/superindex/indexer/libcxx/include
|
||||||
|
#-FC:/Users/jacob/Desktop/superindex/indexer/libcxx/include
|
||||||
|
|
||||||
|
-fms-compatibility
|
||||||
|
-fdelayed-template-parsing
|
20
src/query.h
20
src/query.h
@ -3,26 +3,6 @@
|
|||||||
#include "indexer.h"
|
#include "indexer.h"
|
||||||
#include "serializer.h"
|
#include "serializer.h"
|
||||||
|
|
||||||
// NOTE: If updating this enum, make sure to also update the parser and the
|
|
||||||
// help text.
|
|
||||||
enum class Command {
|
|
||||||
Callees,
|
|
||||||
Callers,
|
|
||||||
FindAllUsages,
|
|
||||||
FindInterestingUsages,
|
|
||||||
GotoReferenced,
|
|
||||||
Hierarchy,
|
|
||||||
Outline,
|
|
||||||
Search
|
|
||||||
};
|
|
||||||
|
|
||||||
// NOTE: If updating this enum, make sure to also update the parser and the
|
|
||||||
// help text.
|
|
||||||
enum class PreferredSymbolLocation {
|
|
||||||
Declaration,
|
|
||||||
Definition
|
|
||||||
};
|
|
||||||
|
|
||||||
using Usr = std::string;
|
using Usr = std::string;
|
||||||
|
|
||||||
// TODO: Switch over to QueryableLocation. Figure out if there is
|
// TODO: Switch over to QueryableLocation. Figure out if there is
|
||||||
|
@ -114,7 +114,7 @@ void RunTests() {
|
|||||||
|
|
||||||
// Run test.
|
// Run test.
|
||||||
std::cout << "[START] " << path << std::endl;
|
std::cout << "[START] " << path << std::endl;
|
||||||
IndexedFile db = Parse(path, {"-IC:/Users/jacob/Desktop/superindex/src"}, false /*dump_ast*/);
|
IndexedFile db = Parse(path, {}, false /*dump_ast*/);
|
||||||
VerifySerializeToFrom(db);
|
VerifySerializeToFrom(db);
|
||||||
std::string actual_output = db.ToString();
|
std::string actual_output = db.ToString();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user