Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 2.6.0
-
None
-
Fedora 17 (64 bit)
Description
When I try to find usages of some method inside the active and parsed #if/#endif block, nothing happens.
The code is as follows:
#ifndef IDBLevelDBBackingStore_h #define IDBLevelDBBackingStore_h #if ENABLE(INDEXED_DATABASE) #if USE(LEVELDB) #include "IDBBackingStore.h" #include <wtf/OwnPtr.h> namespace WebCore { class LevelDBComparator; class LevelDBDatabase; class LevelDBTransaction; class IDBFactoryBackendImpl; class IDBLevelDBBackingStore : public IDBBackingStore { public: static PassRefPtr<IDBBackingStore> open(SecurityOrigin*, const String& pathBase, const String& fileIdentifier, IDBFactoryBackendImpl*); virtual ~IDBLevelDBBackingStore(); // ...
I'm trying to find usages of the method open(...).
There are definitions in the project's config file:
#define ENABLE_INDEXED_DATABASE 1 #define WTF_USE_LEVELDB 1 #define USE(WTF_FEATURE) (defined WTF_USE_##WTF_FEATURE && WTF_USE_##WTF_FEATURE) #define ENABLE(WTF_FEATURE) (defined ENABLE_##WTF_FEATURE && ENABLE_##WTF_FEATURE)
In the attachment there is a screenshot with another example. As you can see - coloring doesn't work too.
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-1829 "Find usages" confused by #ifdef
- Closed