Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cppcodeparser.h File Reference

(efbe74ec1e9ab4c0ebb80bae7d53db7c7bbbdec3)

#include "clangcodeparser.h"
#include "codeparser.h"
#include "parsererror.h"
#include "utilities.h"
+ Include dependency graph for cppcodeparser.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CppCodeParser
 

Functions

bool hasTooManyTopics (const Doc &doc)
 Checks if there are too many topic commands in doc.
 

Function Documentation

◆ hasTooManyTopics()

bool hasTooManyTopics ( const Doc & doc)
inlinenodiscard

Checks if there are too many topic commands in doc.

This method compares the commands used in doc with the set of topic commands. If zero or one topic command is found, or if all found topic commands are {\qml*}-commands, the method returns false.

If more than one topic command is found, QDoc issues a warning and the list of topic commands used in doc, and the method returns true.

Definition at line 86 of file cppcodeparser.h.

References Doc::location().

Referenced by ClangCodeParser::parse_cpp_file().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: