Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
cfce73f3
Commit
cfce73f3
authored
10 years ago
by
Vassil Vassilev
Browse files
Options
Downloads
Patches
Plain Diff
Fix doxygen typos. Thank you clang.
parent
269f6940
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
interpreter/cling/include/cling/Interpreter/RuntimeUniverse.h
+17
-17
17 additions, 17 deletions
...rpreter/cling/include/cling/Interpreter/RuntimeUniverse.h
with
17 additions
and
17 deletions
interpreter/cling/include/cling/Interpreter/RuntimeUniverse.h
+
17
−
17
View file @
cfce73f3
...
...
@@ -110,14 +110,14 @@ namespace cling {
///\param [in] vpQT - The opaque ptr for the clang::QualType of value.
///\param [in] value - The void* value of the assignment to be stored
/// in GenericValue.
///\param [out] vpS
toredValRef
- The StoredValueRef that is created.
///\param [out] vpS
VR
- The StoredValueRef that is created.
///
void
setValueNoAlloc
(
void
*
vpI
,
void
*
vpSVR
,
void
*
vpQT
,
const
void
*
value
);
///\brief Set the value of the Generic value and return the address
/// for the allocated storage space.
///\param [in] vp - The cling::Interpreter for StoredValueRef.
///\param [in] vp
I
- The cling::Interpreter for StoredValueRef.
///\param [in] vpQT - The opaque ptr for the clang::QualType of value.
///\param [out] vpSVR - The StoredValueRef that is created.
///
...
...
@@ -133,26 +133,26 @@ namespace cling {
/// We must be consistent with clang. Eg:
///\code
///extern "C" int printf(const char*,...);
// struct S {
// static int sI;
// int I;
// S(): I(sI++) {}
// };
// int S::sI = 0;
// S arr[5][3];
// int main() {
// for (int i = 0; i < 5; ++i)
// for (int j = 0; j < 3; ++j)
// printf("[%d][%d]%d\n", i, j, arr[i][j].I);
// return 0;
// }
//
/
struct S {
//
/
static int sI;
//
/
int I;
//
/
S(): I(sI++) {}
//
/
};
//
/
int S::sI = 0;
//
/
S arr[5][3];
//
/
int main() {
//
/
for (int i = 0; i < 5; ++i)
//
/
for (int j = 0; j < 3; ++j)
//
/
printf("[%d][%d]%d\n", i, j, arr[i][j].I);
//
/
return 0;
//
/
}
///\endcode
/// must be consistent with what clang does, since it is not well defined
/// in the C++ standard.
///
///\param[in] src - array to copy
///\param[in] placement - where to copy
///\param[in]
N
- size of the array.
///\param[in]
size
- size of the array.
///
template
<
typename
T
>
void
copyArray
(
T
*
src
,
void
*
placement
,
int
size
)
{
...
...
@@ -186,7 +186,7 @@ extern "C" {
(
void
*
)
cling
::
runtime
::
gCling
);
}
///\
B
rief a function that throws NullDerefException. This allows to 'hide' the
///\
b
rief a function that throws NullDerefException. This allows to 'hide' the
/// definition of the exceptions from the RuntimeUniverse and allows us to
/// run cling in -no-rtti mode.
///
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment